hyzp_ybqx-Commit102:完善水印检查更新机制

This commit is contained in:
WinUser01
2022-02-18 17:20:26 +08:00
parent a04bc84c42
commit 25322ed430
2 changed files with 15 additions and 6 deletions
+8
View File
@@ -4,6 +4,8 @@ import 'EncryptUtil.dart';
import 'commonFun.dart';
class UserInfo {
bool trialTag = true; //是否是试用版
UserInfo({this.mapUserInfoRet}) {
setUserInfo(theMapUserInfoRet: mapUserInfoRet);
}
@@ -14,9 +16,15 @@ class UserInfo {
mapUserInfo = theMapUserInfoRet["data"];
print('mapUserInfo = ${mapUserInfo.toString()}');
setQxInfo(mapUserInfo["qx_code"], mapUserInfo["qx_name"]);
setTrialTag();
}
}
// 从服务器检查登录用户是否是试用版用户
setTrialTag() {
// 添加事件处理进行更新
}
//_mapGetData = {is_login: true, user_id: 135, token: 4C5B3F93FEACAEF4B6CAA7296F22CC67825D7E48B867614383D19E3F23DFE510}
Future setUserInfoFaceLogin(Map _mapGetData) async {
mapUserInfo['user_id'] = _mapGetData['user_id'];