From bbc69676e353ddd2ce90531d48c166f8ec1adda0 Mon Sep 17 00:00:00 2001 From: woody Date: Fri, 9 May 2025 14:07:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(login):=20=E9=AA=8C=E8=AF=81=E7=A0=81?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91=E9=AA=8C=E8=AF=81=EF=BC=8C?= =?UTF-8?q?=E9=87=8D=E7=BD=AE=E6=94=AF=E4=BB=98=E5=AF=86=E7=A0=81=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E9=AA=8C=E8=AF=81=E7=A0=81=E6=9B=B4=E6=8D=A2=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/login.js | 5 +++-- pages/forgetPassword/index.vue | 22 ++++++++++--------- pages/forgetPayPassword/index.vue | 2 +- pages/mine/bindBank/bindBank.vue | 6 ++--- pages/selfService/realName/realName.vue | 5 +++-- .../updateDomicile/updateDomicile.vue | 2 +- pages/userSecure/index.vue | 22 +++---------------- 7 files changed, 26 insertions(+), 38 deletions(-) diff --git a/config/login.js b/config/login.js index 531cab4..4e1abce 100644 --- a/config/login.js +++ b/config/login.js @@ -16,7 +16,7 @@ export const getData = (params) => http.get('/member/api/member/get-data', { par export const getCard = (params) => http.get('/member/api/member/get-card', { params }) //获取验证码 -export const verification = (params) => http.get('/member/api/sms/verification', { params }) +export const verification = (params) => http.get('/member/api/sms/self-verification', { params }) //忘记密码获取验证码 export const forgetVerification = (params) => http.get('/member/api/sms/forget-verification', { params }) @@ -101,7 +101,8 @@ export const fansConvertCode = (params) => http.get('/member/api/member/fans-con export const getIndexAwards = (params) => http.get('/member/api/member/index-awards', { params }) //当前用户短信验证码 export const selfVerification = (params) => http.get('/member/api/sms/self-verification', { params }) - +// 重置支付密码获取验证码 +export const resetPayPasswordVerification = (params) => http.get('/member/api/sms/reset-verification', { params }) //更新支付密码 export const forgetPayPassword = (data) => http.put('/member/api/member/forget-pay-password', data) diff --git a/pages/forgetPassword/index.vue b/pages/forgetPassword/index.vue index 20b5ea2..8857531 100644 --- a/pages/forgetPassword/index.vue +++ b/pages/forgetPassword/index.vue @@ -50,17 +50,19 @@ - - - + + + + diff --git a/pages/forgetPayPassword/index.vue b/pages/forgetPayPassword/index.vue index 4d9e4c1..fa59282 100644 --- a/pages/forgetPayPassword/index.vue +++ b/pages/forgetPayPassword/index.vue @@ -137,7 +137,7 @@ export default { this.getYzm() }, getYzm() { - api.selfVerification().then(res => { + api.resetPayPasswordVerification().then(res => { if (res.code == '200') { setTimeout(() => { uni.showToast({ diff --git a/pages/mine/bindBank/bindBank.vue b/pages/mine/bindBank/bindBank.vue index 851cb08..776f89d 100644 --- a/pages/mine/bindBank/bindBank.vue +++ b/pages/mine/bindBank/bindBank.vue @@ -26,12 +26,12 @@ - + - + + - diff --git a/pages/userSecure/index.vue b/pages/userSecure/index.vue index 1872465..f01b41f 100644 --- a/pages/userSecure/index.vue +++ b/pages/userSecure/index.vue @@ -24,7 +24,7 @@ class="border-style"> - {{'重置支付密码'}} + 重置支付密码 @@ -92,24 +92,8 @@ export default { }) }, goUrl() { - ban.authenticationDetails().then((res) => { - if (res.data) { - uni.navigateTo({ - url: '/pages/forgetPayPassword/index', - }) - } else { - uni.showModal({ - title: '提示', - content: '请先进行实名认证', - success: (res) => { - if (res.confirm) { - uni.navigateTo({ - url: '/pages/selfService/realName/realName', - }) - } - }, - }) - } + uni.navigateTo({ + url: '/pages/forgetPayPassword/index', }) }, surePsw() {