开发:更新api
This commit is contained in:
4
types/Common/Request.d.ts
vendored
4
types/Common/Request.d.ts
vendored
@@ -7,7 +7,8 @@ export declare enum DirectoryId {
|
||||
TemplateDir = "5",
|
||||
DrillingDir = "6",
|
||||
KnifePathDir = "7",
|
||||
Frame = "8"
|
||||
Frame = "8",
|
||||
HistoryDit = "-1"
|
||||
}
|
||||
export declare enum RequestStatus {
|
||||
NoLogin = 88888,
|
||||
@@ -31,6 +32,5 @@ export interface IResponseData {
|
||||
}
|
||||
export declare function PostJson<T = object>(url: string, body: Exclude<T, BodyInit>, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function Post(url: string, body?: BodyInit, isShowErrMsg?: boolean): Promise<IResponseData>;
|
||||
export declare function FetchGet(url: string): Promise<any>;
|
||||
export declare function uploadLogo(blob: Blob): Promise<string>;
|
||||
//# sourceMappingURL=Request.d.ts.map
|
Reference in New Issue
Block a user