dev mysql数据
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:mysql://yingdiandian.mysql.rds.aliyuncs.com:3306/smart_venue?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true
|
||||
username: yingdd
|
||||
password: Yingdd2015
|
||||
# url: jdbc:mysql://yingdiandian.mysql.rds.aliyuncs.com:3306/smart_venue?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true
|
||||
# username: yingdd
|
||||
# password: Yingdd2015
|
||||
url: jdbc:mysql://127.0.01:3306/smart_venue?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true
|
||||
username: root
|
||||
password: 123456
|
||||
|
||||
redis:
|
||||
host: 127.0.0.1
|
||||
password: 123456
|
||||
|
||||
@@ -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