From 4a800a8fc83c6bd1f86a8e847b079a51a7532c09 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期三, 20 七月 2022 15:05:58 +0800
Subject: [PATCH] 修复国标配置的bug

---
 src/pages/ai/index/api.ts |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/src/pages/ai/index/api.ts b/src/pages/ai/index/api.ts
index 550ea3e..88b586b 100644
--- a/src/pages/ai/index/api.ts
+++ b/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
+  })
 }
\ No newline at end of file

--
Gitblit v1.8.0