src/pages/ai/index/api.ts
@@ -142,6 +142,14 @@ params: data }) } export const uploadSDK = (data: any) => { return request({ url: "/data/api-v/sdk/upload", method: "post", data }) } //安装已上传的算法接口 export const installSdk = (file: any) => { return request({ @@ -149,4 +157,13 @@ method: 'post', params: file }) } //卸载已安装算法 export const removeSdk = (sdk: any) => { return request({ url: '/data/api-v/sdk/unInstall', method: 'post', data: sdk }) }