-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
- diff --git a/src/api/indexExternalChain.js b/src/api/indexExternalChain.js
new file mode 100644
index 00000000..9de46f42
--- /dev/null
+++ b/src/api/indexExternalChain.js
@@ -0,0 +1,19 @@
+import http from "./config";
+
+//创建外链接口
+export const createExternalChain = (obj) => http.post('/link/createLinks', obj)
+
+//外链信息删除接口
+export const deleteLink = (obj) => http.post('/link/deleteLink', { params: obj })
+
+//获取外链详细信息接口
+export const getLink = (obj) => http.post('/link/getOne', { params: obj })
+
+// 更新外链数据
+export const updateLinks = (obj) => http.post('/link/updateLinks', obj)
+
+//修改为必修的接口
+export const updateToCompulsory = (obj) => http.post('/link/updateToCompulsory', { params: obj })
+
+//修改为选修的接口
+export const updateToElective = (obj) => http.post('/link/updateToElective', { params: obj })
\ No newline at end of file
diff --git a/src/components/drawers/AddLive.vue b/src/components/drawers/AddLive.vue
index 36f64096..65cdc135 100644
--- a/src/components/drawers/AddLive.vue
+++ b/src/components/drawers/AddLive.vue
@@ -65,7 +65,6 @@
-
-
+
-
-
-
-
+
+
+
-
+
-
-
+
+
-
-
-
+
+
+
-
-
+
+