-
Notifications
You must be signed in to change notification settings - Fork 0
api_manage.js
xinwu-yang edited this page Mar 1, 2023
·
1 revision
http请求封装,其中包含了
getAction(url: string, params: any) => promise
postAction(url: string, params: any) => promise
putAction(url: string, params: any) => promise
deleteAction(url: string, params: any) => promise
httpAction(url: string, params: any, method: 'put' | 'post') => promise
downFile(url: string, params: any) => promise
downloadFile(url: string, fileName: string, params: any) => promise
uploadAction(url: string, params: any) => promise
getFileAccessHttpUrl(path: string, prefix: string) => promise