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

+3 -7
View File
@@ -44,20 +44,16 @@ abstract class UserApi {
}
/// 获取人脸
static Future<ServiceListBase<ServiceAsyncFace>> getFaceList(
static Future<List<ServiceAsyncFace>?> getFaceList(
dynamic formData,
) async {
final res = await HttpManage().dio.get(
"/admin/user-face/ad/find-face",
queryParameters: formData,
);
if (res.data?.data == null) {
return res.data;
}
final typeData = res.data?.data
if (res.data == null) return null;
return res.data
?.map<ServiceAsyncFace>((e) => ServiceAsyncFace.fromJson(e))
.toList();
res.data?.data = typeData;
return res.data;
}
}