Merge branch 'develop_liyi' into canary_release

This commit is contained in:
Liuyf 2025-04-21 18:41:07 +08:00
commit 749f2a1919
6 changed files with 10 additions and 4 deletions

View File

@ -136,6 +136,8 @@ class StarLockLoginLogic extends BaseGetXController {
'login_res': '${entity.errorCode}--${entity.errorMsg}',
});
}
} else {
showToast('一键登录失败,请重试'.tr);
}
});
}
@ -215,6 +217,7 @@ class StarLockLoginLogic extends BaseGetXController {
//
Future<void> flushedDeviceInfo() async {
eventBus.fire(AgreePrivacyAgreement());
XSConstantMacro().getDeviceInfoData().then((Map<String, dynamic> data) {
state.deviceInfoMap.value = data;
}).catchError((dynamic error) {

View File

@ -248,7 +248,7 @@ class CardListLogic extends BaseGetXController {
if (isDemoMode == false) {
_initReplySubscription();
_initRefreshAction();
// _initRefreshAction();
}
await getICCardListData(isRefresh: true);
}

View File

@ -430,7 +430,7 @@ class FaceListLogic extends BaseGetXController {
if (isDemoMode == false) {
_initReplySubscription();
_initRefreshAction();
// _initRefreshAction();
}
}

View File

@ -461,7 +461,6 @@ class FingerprintListLogic extends BaseGetXController {
_initReplySubscription();
// _initRefreshAction();
getFingerprintsListData(isRefresh: true);
}
}

View File

@ -233,7 +233,7 @@ class PalmListLogic extends BaseGetXController {
if (isDemoMode == false) {
_initReplySubscription();
_initRefreshAction();
// _initRefreshAction();
}
}

View File

@ -95,6 +95,7 @@ class JverifyOneClickLoginManage {
///
Future<bool> checkVerifyEnable() async {
final Map map = await jverify.checkVerifyEnable();
AppLog.log('一家登录 sdk 初始化结果:$map');
final bool result = map[f_result_key];
return result;
// state.jverify.checkVerifyEnable().then((map) {
@ -267,6 +268,9 @@ class JverifyOneClickLoginManage {
action(event);
// AppLog.log('获取到 loginAuthSyncApi 接口返回数据code=${event.code},message = ${event.message},operator = ${event.operator}');
});
} else {
// -10000
action(JVListenerEvent.fromJson({'code': -10000, 'message': ''}));
}
}
}