同步代码
This commit is contained in:
5
types/Common/Request.d.ts
vendored
5
types/Common/Request.d.ts
vendored
@@ -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
|
Reference in New Issue
Block a user