This commit is contained in:
dzc committed 2025-03-09 20:35:03 +08:00
1 parent 295b4058be
commit 08bf352984
21 files changed
+1109 -234

No files matched your search

+2 -3
View File
@@ -26,9 +26,8 @@ class SyncFaceTool {
if (isGlobalFace != null && isGlobalFace) pa["merchantDeptId"] = null;
logger.i("|$_tag|同步人脸api参数:|$pa|");
try {
final res = await UserApi.getFaceList(pa);
if (res.code != 0 || res.data == null) throw Error();
final data = res.data as List<ServiceAsyncFace>;
final data = await UserApi.getFaceList(pa);
if (data == null) throw Error();
if (ObjectUtil.isEmptyList(data)) {
if (ObjectUtil.isEmpty(userId)) return false;
// 删除人脸图片