feat(security): 优化登录与支付密码错误提示文案并完善双端安全中心交互
- 安全校验提示:优化 AccountSecurity 与 MasterSecurity 密码错误提示,区分登录密码与支付密码,并增加剩余可重试次数提示 - 接口响应对齐:优化 Auth、MasterAuth、Security、Sms 控制器在短信验证码发送与密码校验时的异常处理与返回格式 - 腾讯云短信SDK:优化 SmsSingleSender::sendWithParam 方法入参默认值 - 双端小程序:优化用户端与师傅端登录页及账号安全中心的密码修改与找回交互逻辑
这个提交包含在:
@@ -20,13 +20,13 @@ export default {
|
||||
logout: () => post('/master_auth/logout', {}, { silent: true }),
|
||||
profile: () => get('/master_auth/profile'),
|
||||
securityStatus: () => get('/master_auth/securityStatus'),
|
||||
sendPasswordSms: () => post('/master_auth/sendPasswordSms', {}),
|
||||
sendPaymentPasswordSms: () => post('/master_auth/sendPaymentPasswordSms', {}),
|
||||
changeLoginPassword: (data) => post('/master_auth/changeLoginPassword', data),
|
||||
sendPasswordSms: (opt) => post('/master_auth/sendPasswordSms', {}, opt),
|
||||
sendPaymentPasswordSms: (opt) => post('/master_auth/sendPaymentPasswordSms', {}, opt),
|
||||
changeLoginPassword: (data, opt) => post('/master_auth/changeLoginPassword', data, opt),
|
||||
sendResetPasswordSms: (data) => post('/master_auth/sendResetPasswordSms', data),
|
||||
resetPasswordBySms: (data) => post('/master_auth/resetPasswordBySms', data),
|
||||
setPaymentPassword: (data) => post('/master_auth/setPaymentPassword', data),
|
||||
changePaymentPassword: (data) => post('/master_auth/changePaymentPassword', data),
|
||||
setPaymentPassword: (data, opt) => post('/master_auth/setPaymentPassword', data, opt),
|
||||
changePaymentPassword: (data, opt) => post('/master_auth/changePaymentPassword', data, opt),
|
||||
|
||||
/* ---------- 师傅业务 ---------- */
|
||||
masterApply: (data) => post('/master/apply', data),
|
||||
|
||||
在新工单中引用
屏蔽一个用户