dev mysql数据

This commit is contained in:
limqhz
2020-01-31 01:33:04 +08:00
parent 61f3b6dada
commit 604e07ad26
2 changed files with 9 additions and 4 deletions

View File

@@ -503,6 +503,7 @@ public class MemberService extends BaseServiceImpl {
faceService.login();
Integer faceId = faceService.uploadFace(new ByteArrayInputStream(byt));
Integer subjectId = faceService.addSubject(faceId, member);
logger.info(faceId + "&&" + subjectId);
if (memberFaceInfo != null) {
//删除原有的subject
faceService.deleteSubject(memberFaceInfo.getFaceId());
@@ -513,7 +514,7 @@ public class MemberService extends BaseServiceImpl {
e.printStackTrace();
throw new ServiceException(e.getMessage());
} catch (Exception e) {
e.printStackTrace();
logger.info("unknown error",e);
throw new ServiceException("设置人脸失败,请稍后再试");
}
}