dev mysql数据
This commit is contained in:
@@ -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("设置人脸失败,请稍后再试");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user