|
@@ -170,6 +170,7 @@ public class UserInfoServiceImpl implements UserInfoService {
|
|
|
return new PageInfo<>(userInfoDao.getUsersByFacePass(dto.getData()));
|
|
|
}
|
|
|
|
|
|
+
|
|
|
@Override
|
|
|
public Map<String, Object> doGetFacePass(Integer userId, String taskId) {
|
|
|
log.info("数据*************; " + userId + "*******************" + taskId);
|
|
@@ -187,8 +188,8 @@ public class UserInfoServiceImpl implements UserInfoService {
|
|
|
if (org.apache.commons.lang3.StringUtils.isBlank(userInfo.getPhone())) {
|
|
|
throw new ServiceException("手机号为空请重新登录哦~");
|
|
|
}
|
|
|
- if (StringUtils.hasText(userInfo.getAvatar())) {
|
|
|
- throw new ServiceException("人脸照片不规范哦~");
|
|
|
+ if (!StringUtils.hasText(userInfo.getAvatar())) {
|
|
|
+ throw new ServiceException("人脸照片不规范请重新认证哦~");
|
|
|
}
|
|
|
//校验是否在黑名单
|
|
|
UserBlackList userBlackList = new UserBlackList();
|
|
@@ -282,7 +283,7 @@ public class UserInfoServiceImpl implements UserInfoService {
|
|
|
requestLog = new FaceRequestLog();
|
|
|
requestLog.setName("下发人脸");
|
|
|
requestLog.setContext("/downUser");
|
|
|
- requestLog.setParams(JsonUtils.toJson(params));
|
|
|
+ requestLog.setParams("");
|
|
|
requestLog.setStatus(1);
|
|
|
requestLog.setUsedTime(0L);
|
|
|
requestLog.setUpdateTime(now);
|