Merge remote-tracking branch 'origin/develop_liyi' into develop_liyi
This commit is contained in:
commit
8060bf5cbf
@ -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