fix: 【[需求确认]我的页-增值服务-高级功能-线上环境点都提示请先添加锁,不能购买(已添加有锁)】
This commit is contained in:
parent
72326851ca
commit
7f29cfcbf0
@ -68,15 +68,16 @@ class _ValueAddedServicesPageListState
|
||||
'高级功能'.tr, () async {
|
||||
final bool? isVip = await Storage.getBool(saveIsVip);
|
||||
if (isVip == null || !isVip) {
|
||||
if (CommonDataManage().currentKeyInfo.isLockOwner != 1) {
|
||||
logic.showToast('请先添加锁'.tr);
|
||||
} else {
|
||||
//刷新购买状态
|
||||
Get.toNamed(Routers.advancedFeaturesWebPage,
|
||||
arguments: <String, int>{
|
||||
'webBuyType': XSConstantMacro.webBuyTypeVip,
|
||||
})?.then((value) => logic.getUserInfoRequest());
|
||||
}
|
||||
// vip状态是和账号绑定,这里判断用户打开的某个锁是不是LockOwner没意义
|
||||
// if (CommonDataManage().currentKeyInfo.isLockOwner != 1) {
|
||||
// logic.showToast('请先添加锁'.tr);
|
||||
// } else {
|
||||
//刷新购买状态
|
||||
Get.toNamed(Routers.advancedFeaturesWebPage,
|
||||
arguments: <String, int>{
|
||||
'webBuyType': XSConstantMacro.webBuyTypeVip,
|
||||
})?.then((value) => logic.getUserInfoRequest());
|
||||
// }
|
||||
} else {
|
||||
Get.toNamed(Routers.valueAddedServicesHighFunctionPage);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user