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
+3
-1
@@ -1,7 +1,9 @@
|
||||
// xuchao: 账号级本地缓存集中管理。权益页首屏会读这些缓存做兜底展示,
|
||||
// 换账号/退出时漏清就会把上一个账号的中奖状态、卡号、到期时间当成当前账号的数据展示。
|
||||
// xuchao: loginWay 记录登录方式(ysf=云闪付免密 / sms=手机验证码)——付款码仅对免密登录开放,
|
||||
// 换账号/退出后必须清掉,否则会把上个账号的免密状态带给新账号
|
||||
const ACCOUNT_KEYS = ['token', 'phone', 'isAuth', 'hasWin', 'cardNumber', 'expiresTime',
|
||||
'rightsCount', 'totalValueFen', 'authFlowStarted', 'authName', 'authIdNo']
|
||||
'rightsCount', 'totalValueFen', 'authFlowStarted', 'authName', 'authIdNo', 'loginWay']
|
||||
|
||||
export default {
|
||||
// 清空当前账号的本地会话与权益缓存(定位 lng/lat 属于设备信息,不在此列)
|
||||
|
||||
Reference in New Issue
Block a user