feat:拉取人脸v1、v2版本

This commit is contained in:
dzc committed 2026-04-17 14:55:42 +08:00
1 parent b916d6ca85
commit 561e55b59f
3 files changed
+17 -3

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class SyncFaceTool {
if (isGlobalFace != null && isGlobalFace) pa["merchantDeptId"] = null;
logger.i("|$_tag|同步人脸api参数:|$pa|");
try {
final data = await UserApi.getFaceList(pa);
final data = await UserApi.getFaceListV2(pa);
if (data == null) throw Error();
if (ObjectUtil.isEmptyList(data)) {
if (ObjectUtil.isEmpty(userId)) return false;