diff --git a/src/api/index.js b/src/api/index.js
index 8a2de49..6e2a54b 100644
--- a/src/api/index.js
+++ b/src/api/index.js
@@ -1,13 +1,20 @@
-let loginhost = 'http://www.liuwanr.cn/liuwanr'
+import Setting from '@/setting'
let host = 'http://192.168.31.152:8001'
+let uploadURL = Setting.apiUploadURL
export default {
- logins: `management/userInfo/login`, //登录
- save: `management/userInfo/add`, //注册
+ // 登录注册
+ logins: `management/userInfo/login`,
+ save: `management/userInfo/add`,
- //查询电话是否存在
- queryPhone: `${loginhost}/userInfo/queryPhone`,
+ // oss文件管理
+ fileDeletion: `${uploadURL}/oss/manage/fileDeletion`,
+ fileupload: `${uploadURL}/oss/manage/fileupload`,
+ getPlayAuth: `${uploadURL}/oss/manage/getPlayAuth`,
+ removeMoreVideo: `${uploadURL}/oss/manage/removeMoreVideo`,
+ removeVideo: `${uploadURL}/oss/manage/removeVideo`,
+ //查询电话是否存在
queryProvince: `enterprise/province/queryProvince`,
queryCity: `enterprise/city/queryCity`,
queryClient: `enterprise/client/list`,
@@ -30,4 +37,12 @@ export default {
queryGzAnswerDetails: `/user/exam/queryGzAnswerDetails`,
coverGzAnswerDetails: `/user/exam/coverGzAnswerDetails`,
getStateById:`management/monitor/getStateById`,
+
+ // 我的练习
+ previewtestPaper:`management/testPaper/preview`,
+ addPractiseExamAnswerDetails: `/user/practise/addPractiseExamAnswerDetails`,
+ addPractiseRecord: `/user/practise/addPractiseRecord`,
+ calculationScorePractice: `/user/practise/calculationScore`,
+ enterPractise: `/user/practise/enterPractise`,
+ getMinePractise: `/user/practise/getMinePractise`,
}
\ No newline at end of file
diff --git a/src/assets/img/login_bg.png b/src/assets/img/login_bg.png
index 03e46b2..72ea233 100644
Binary files a/src/assets/img/login_bg.png and b/src/assets/img/login_bg.png differ
diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue
index 5771254..4505aac 100644
--- a/src/layouts/header/index.vue
+++ b/src/layouts/header/index.vue
@@ -10,25 +10,24 @@
{{userName}}
-
- 退出
+
+ 退出