同步代码

This commit is contained in:
ChenX
2023-09-09 17:26:43 +08:00
parent f1a1373831
commit 05589d99d5
133 changed files with 752 additions and 407 deletions

View File

@@ -31,7 +31,10 @@ export interface IResponseData {
err_msg: string;
[key: string]: any;
}
export declare function PostJson<T = object>(url: string, body: Exclude<T, BodyInit>, isShowErrMsg?: boolean): Promise<IResponseData>;
export declare function PostJson<T = object>(url: string, body: Exclude<T, BodyInit>, isShowErrMsg?: boolean, retryOption?: {
retry: boolean;
msg: string;
}): Promise<IResponseData>;
export declare function Post(url: string, body?: BodyInit, isShowErrMsg?: boolean): Promise<IResponseData>;
export declare function uploadLogo(blob: Blob): Promise<string>;
//# sourceMappingURL=Request.d.ts.map