feat: spark free quota verify (#1152)

This commit is contained in:
zxhlyh
2023-09-11 17:30:54 +08:00
committed by GitHub
parent 24cb992843
commit 96d10c8b39
6 changed files with 105 additions and 24 deletions

View File

@@ -184,3 +184,7 @@ export const fetchFileUploadConfig: Fetcher<FileUploadConfigResponse, { url: str
export const fetchDocumentsLimit: Fetcher<DocumentsLimitResponse, string> = (url) => {
return get(url) as Promise<DocumentsLimitResponse>
}
export const fetchSparkFreeQuotaVerify: Fetcher<{ result: string; flag: boolean; reason: string }, string> = (url) => {
return get(url) as Promise<{ result: string; flag: boolean; reason: string }>
}