From 9a91e58f2c5d3e41443517816c9b854dc5394c43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?lemon=E6=A9=AA?= <17633066053@163.com> Date: Thu, 26 Aug 2021 09:48:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BF=AE=E6=94=B9=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/login.js | 4 ++-- pages/mine/set/securityCenter/editPassword.vue | 16 +++++++++------- pages/mine/set/securityCenter/securityCenter.vue | 5 +---- 3 files changed, 12 insertions(+), 13 deletions(-) diff --git a/api/login.js b/api/login.js index 0c265f2..14f3ff7 100644 --- a/api/login.js +++ b/api/login.js @@ -18,9 +18,9 @@ export function resetByMobile(params) { * 发送验证码 * @param mobile */ -export function sendMobile(mobile) { +export function sendMobile(mobile,type='LOGIN') { return http.request({ - url: `${api.common}/sms/LOGIN/${mobile}`, + url: `${api.common}/sms/${type}/${mobile}`, method: "GET", }); } diff --git a/pages/mine/set/securityCenter/editPassword.vue b/pages/mine/set/securityCenter/editPassword.vue index f938830..7be7247 100644 --- a/pages/mine/set/securityCenter/editPassword.vue +++ b/pages/mine/set/securityCenter/editPassword.vue @@ -9,17 +9,17 @@ - + - + {{ tips }} 验证 - + @@ -40,7 +40,7 @@