Merge remote-tracking branch 'origin/develop_liyi' into develop_liyi

This commit is contained in:
liyi 2025-04-07 09:50:59 +08:00
commit 8060bf5cbf

View File

@ -68,15 +68,16 @@ class _ValueAddedServicesPageListState
'高级功能'.tr, () async { '高级功能'.tr, () async {
final bool? isVip = await Storage.getBool(saveIsVip); final bool? isVip = await Storage.getBool(saveIsVip);
if (isVip == null || !isVip) { if (isVip == null || !isVip) {
if (CommonDataManage().currentKeyInfo.isLockOwner != 1) { // vip状态是和账号绑定LockOwner没意义
logic.showToast('请先添加锁'.tr); // if (CommonDataManage().currentKeyInfo.isLockOwner != 1) {
} else { // logic.showToast('请先添加锁'.tr);
// // } else {
Get.toNamed(Routers.advancedFeaturesWebPage, //
arguments: <String, int>{ Get.toNamed(Routers.advancedFeaturesWebPage,
'webBuyType': XSConstantMacro.webBuyTypeVip, arguments: <String, int>{
})?.then((value) => logic.getUserInfoRequest()); 'webBuyType': XSConstantMacro.webBuyTypeVip,
} })?.then((value) => logic.getUserInfoRequest());
// }
} else { } else {
Get.toNamed(Routers.valueAddedServicesHighFunctionPage); Get.toNamed(Routers.valueAddedServicesHighFunctionPage);
} }