|
@@ -315,13 +315,15 @@ public class FaceServicelimpl implements FaceServiceI {
|
315
|
315
|
}
|
316
|
316
|
TaFace face = taFaceMapper.getByUserVerifyId(userVerifyId);
|
317
|
317
|
ToCommunities toCommunities = toCommunitiesMapper.selectByPrimaryKey(userElement.getCommunityId());
|
|
318
|
+ List<Map<String, Object>> unitList = getUnitList(userElement, toCommunities);
|
318
|
319
|
if (null != face) {
|
319
|
|
- List<Map<String, Object>> unitList = getUnitList(userElement, toCommunities);
|
320
|
320
|
face.setText(unitList);
|
321
|
321
|
responseBean.addSuccess(face);
|
322
|
322
|
return responseBean;
|
323
|
323
|
}
|
324
|
|
- responseBean.addError("当前用户暂无人脸图片");
|
|
324
|
+ TaFace taFace = new TaFace();
|
|
325
|
+ taFace.setText(unitList);
|
|
326
|
+ responseBean.addError("当前用户暂无人脸图片", taFace, null);
|
325
|
327
|
return responseBean;
|
326
|
328
|
|
327
|
329
|
}
|