feat:付款码仅放行云闪付免密登录——验证码/未登录点付款码给引导提示
- 免密登录记 loginWay=ysf、验证码登录记 loginWay=sms,纳入账号缓存清理键(换账号不残留) - 详情页付款码桥就绪后校验登录方式,非 ysf 按登录态弹对应引导,不拉起容器付款码 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
d1e87498f5
commit
69a42cd6fc
@@ -131,6 +131,8 @@ export default {
|
||||
const issued = [payload.accessToken, payload.token].find(v => typeof v === 'string' && v.length > 0)
|
||||
uni.setStorageSync('token', issued || '')
|
||||
uni.setStorageSync('phone', this.phone)
|
||||
// xuchao: 标记登录方式为手机验证码——付款码仅放行云闪付免密登录(ysf),验证码登录会被引导
|
||||
uni.setStorageSync('loginWay', 'sms')
|
||||
this.$u.api.getEligibility({ phone: this.phone, identityNo: '', name: '' }).then(eRes => {
|
||||
if (eRes.errcode === 0) {
|
||||
uni.setStorageSync('isAuth', eRes.data.isAuth)
|
||||
|
||||
Reference in New Issue
Block a user