更新特殊处理测试账号

This commit is contained in:
wyf
2025-10-17 10:46:38 +08:00
parent 5e93369dd0
commit cd7ab904ac
3 changed files with 139 additions and 102 deletions

View File

@@ -718,11 +718,11 @@ Future<void> initLogin() async {
if (userMap != null) {
UserModel user = UserModel.fromJson(userMap);
userInfoController.model.user = user;
if (user.test != null && (user.test)!) {
AppConstants.is_test_account = true;
} else {
AppConstants.is_test_account = false;
}
// if (user.test != null && (user.test)!) {
// AppConstants.is_test_account = true;
// } else {
// AppConstants.is_test_account = false;
// }
}
} catch (e) {
print(e);