From cd0297a93dec89a0a5102bd3d0bff6198bfa6dd6 Mon Sep 17 00:00:00 2001 From: zhaoxiao Date: Wed, 13 Oct 2021 10:49:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/Login.vue | 2 ++ src/views/user/alteration/Alteration.vue | 4 +++- vue.config.js | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/user/Login.vue b/src/views/user/Login.vue index 724f6cc..73c8a76 100644 --- a/src/views/user/Login.vue +++ b/src/views/user/Login.vue @@ -293,6 +293,8 @@ export default { const hide = this.$message.loading('验证码发送中..', 0) let smsParams = {} smsParams.phone = values.username + // 登录--1 + smsParams.codeType = 1 let interval getAction('/company/sendVerificationCode', smsParams) .then(res => { diff --git a/src/views/user/alteration/Alteration.vue b/src/views/user/alteration/Alteration.vue index 52d725f..fc70076 100644 --- a/src/views/user/alteration/Alteration.vue +++ b/src/views/user/alteration/Alteration.vue @@ -255,7 +255,9 @@ export default { if (!err) { const hide = this.$message.loading('验证码发送中..', 0) let smsParams = { - phone: phone + phone: phone, + // 忘记密码是2 + codeType: 2 } getAction('/company/sendVerificationCode', smsParams).then(res => { if (!res.success) { diff --git a/vue.config.js b/vue.config.js index 8c428b7..5fb85f5 100644 --- a/vue.config.js +++ b/vue.config.js @@ -79,7 +79,7 @@ module.exports = { }, devServer: { - port: 21826, + port: 3001, proxy: { /* '/api': { target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统 @@ -90,7 +90,7 @@ module.exports = { } },*/ '/jero-boot': { - target: 'http://localhost:21824', //请求本地 jero-boot后台项目 + target: 'http://localhost:8080', //请求本地 jero-boot后台项目 ws: false, changeOrigin: true },