11
This commit is contained in:
1 parent
295b4058be
commit
08bf352984
21 files changed
+1109
-234
No files matched your search
@@ -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;
|
||||
// 删除人脸图片
|
||||
|
||||
Reference in new issue
Block a user