diff --git a/src/api/config.js b/src/api/config.js
index 3e659a63..bb964595 100644
--- a/src/api/config.js
+++ b/src/api/config.js
@@ -16,6 +16,8 @@ http.interceptors.request.use(
config.headers.token = token;
} else {
console.log("当前请求页面无token,请执行操作!!!")
+ // 此处测试默认配置token
+ config.headers.token = "123456";
}
return config;
},
diff --git a/src/api/index.js b/src/api/index.js
index acd6f5c5..ca3a832a 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -51,13 +51,21 @@ export const createProject = (obj) => http.post('/admin/project/edit', {
"name": obj.name,
"notice": obj.notice,
"noticeFlag": obj.noticeFlag,
- "parentId": obj.parentId,
"picUrl": obj.picUrl,
- "projectId": obj.projectId,
"remark": obj.remark,
"sourceBelongId": obj.sourceBelongId,
"status": obj.status,
"systemId": obj.systemId,
"templateId": obj.templateId,
"type": obj.type
+})
+
+// 创建多层项目
+export const createStoreyProject = () => http.post('/admin/project/edit', {
+
+})
+
+// 获取项目列表
+export const getProjectList = () => http.post('/admin/project/list', {
+
})
\ No newline at end of file
diff --git a/src/api/indexLiveBroadcast.js b/src/api/indexLiveBroadcast.js
new file mode 100644
index 00000000..ef05e98e
--- /dev/null
+++ b/src/api/indexLiveBroadcast.js
@@ -0,0 +1,13 @@
+import http from "./config";
+
+//根据直播Id获取直播信息 query参数
+export const getLiveBroadcastInfor = (obj) => http.get('/liveBroadcast', { params: obj })
+
+//创建直播接口
+export const createLiveBroadcast = (obj) => http.post('/liveBroadcast/createLiveBroadcast', obj)
+
+//直播信息删除接口
+export const deleteLiveBroadcast = (obj) => http.post('/liveBroadcast/deleteLiveBroadcast', obj)
+
+//直播信息修改接口
+export const updateLiveBroadcastMessage = (obj) => http.post('/liveBroadcast/updateLiveBroadcastMessage', obj)
\ No newline at end of file
diff --git a/src/components/drawers/AddLive.vue b/src/components/drawers/AddLive.vue
index bd7b3dab..36f64096 100644
--- a/src/components/drawers/AddLive.vue
+++ b/src/components/drawers/AddLive.vue
@@ -1,3 +1,4 @@
+
@@ -114,7 +117,7 @@
list-type="picture-card"
class="avatar-uploader"
:show-upload-list="false"
- action="https://www.mocky.io/v2/5cc8019d300000980a055e76"
+ action="/api/file/upload"
:before-upload="beforeUpload"
@change="handleChange"
>
@@ -195,18 +198,32 @@
@@ -218,9 +235,16 @@
结束前:
分钟(提前签退则记为早退)
- 仅签到
- 仅签到
+ 签到、签退全部完成
@@ -256,63 +280,65 @@
-
+