From d3c8999921924f758a71ca99ac7616fd9efabf5b Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 28 Apr 2022 14:09:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=98=E5=B7=A5=E5=AD=A6=E7=94=9F=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.js | 9 ++- src/pages/setting/list/info.vue | 123 +++++++++++++++++-------------- src/pages/student/list/index.vue | 7 +- src/pages/system/list/staff.vue | 34 ++++----- 4 files changed, 89 insertions(+), 84 deletions(-) diff --git a/src/api/index.js b/src/api/index.js index a27c8c3..7f9379a 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -1,7 +1,7 @@ import Setting from "@/setting"; -let host = Setting.apiBaseURL -let uploadURL = Setting.upload.apiURL; -let host1 = "http://39.108.250.202:8080/"; // 川大 +const host = Setting.apiBaseURL +const uploadURL = Setting.upload.apiURL; +const host1 = "http://39.108.250.202:8080/" export default { queryToken: `liuwanr/userInfo/queryToken`, @@ -178,12 +178,13 @@ export default { queryCourseProfessional: `nakadai/nakadai/subject/courseProfessional`, //查询专业 // 个人中心 - uploadUserAvatars: `users/users/userAccount/updateUserAvatars`, //更改头像 + uploadUserAvatars: `${host}users/users/userAccount/updateUserAvatars`, //更改头像 queryUserInfoDetails: `users/users/userAccount/queryUserInfoDetails`,//个人中心信息展示 updatePersonCenter: `users/users/userAccount/updatePersonCenter`,//个人中心信息修改 examinePassword: `users/users/userAccount/examinePassword`,//更换密码 bindPhoneOrEmail: `users/users/userAccount/bindPhoneOrEmail`,// 绑定手机或邮箱 sendPhoneOrEmailCode: `users/users/userAccount/sendPhoneOrEmailCode`,// 更换手机号或邮箱--发送手机验证码 + unbindMobilePhone: `users/users/userAccount/unbindMobilePhone`, // 系统设置 // 员工组织架构 diff --git a/src/pages/setting/list/info.vue b/src/pages/setting/list/info.vue index f6779cd..446db5c 100644 --- a/src/pages/setting/list/info.vue +++ b/src/pages/setting/list/info.vue @@ -1,6 +1,6 @@