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 @@