This commit is contained in:
parent
4f62b3bea3
commit
f7d1f81940
@ -141,9 +141,9 @@ public class TbVisitorManagementServiceImpl implements ITbVisitorManagementServi
|
|||||||
add.setCreateBy(userInfoById.getUserId());
|
add.setCreateBy(userInfoById.getUserId());
|
||||||
add.setUpdateById(userInfoById.getUserId());
|
add.setUpdateById(userInfoById.getUserId());
|
||||||
|
|
||||||
//文件上传时,获取ossId
|
// //文件上传时,获取ossId
|
||||||
String ossId = String.valueOf(remoteFileService.uploadImg(bo.getFacePictures().getBytes()).getOssId());
|
// String ossId = String.valueOf(remoteFileService.uploadImg(bo.getFacePictures().getBytes()).getOssId());
|
||||||
add.setFacePictures(ossId);
|
// add.setFacePictures(ossId);
|
||||||
|
|
||||||
add.setUpdateBy(userInfoById.getUserId());
|
add.setUpdateBy(userInfoById.getUserId());
|
||||||
add.setCreateDept(userInfoById.getDeptId());
|
add.setCreateDept(userInfoById.getDeptId());
|
||||||
@ -171,8 +171,8 @@ public class TbVisitorManagementServiceImpl implements ITbVisitorManagementServi
|
|||||||
TbVisitorManagement add = MapstructUtils.convert(bo, TbVisitorManagement.class);
|
TbVisitorManagement add = MapstructUtils.convert(bo, TbVisitorManagement.class);
|
||||||
|
|
||||||
//文件上传时,获取ossId
|
//文件上传时,获取ossId
|
||||||
String ossId = String.valueOf(remoteFileService.uploadImg(bo.getFacePictures().getBytes()).getOssId());
|
// String ossId = String.valueOf(remoteFileService.uploadImg(bo.getFacePictures().getBytes()).getOssId());
|
||||||
add.setFacePictures(ossId);
|
// add.setFacePictures(ossId);
|
||||||
|
|
||||||
validEntityBeforeSave(add);
|
validEntityBeforeSave(add);
|
||||||
// add.setCreateById(info.getUserid());
|
// add.setCreateById(info.getUserid());
|
||||||
|
@ -40,8 +40,8 @@ spring.sql.init.platform=mysql
|
|||||||
db.num=1
|
db.num=1
|
||||||
|
|
||||||
### Connect URL of DB:
|
### Connect URL of DB:
|
||||||
db.url.0=jdbc:mysql://127.0.0.1:3306/ry-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
db.url.0=jdbc:mysql://192.168.24.101:3306/ry-config?characterEncoding=utf8&connectTimeout=1000&socketTimeout=3000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
||||||
db.user.0=root
|
db.user.0=by
|
||||||
db.password.0=123456
|
db.password.0=123456
|
||||||
|
|
||||||
### the maximum retry times for push
|
### the maximum retry times for push
|
||||||
|
Loading…
Reference in New Issue
Block a user