1、同步摄像头标签信息时数据库配置增加默认值
This commit is contained in:
parent
6954af5ba4
commit
6da7fa0665
|
@ -87,16 +87,16 @@ public class MonitorService {
|
||||||
@Value("iOgQotfgfyLvhj6WgfDTpq7F")
|
@Value("iOgQotfgfyLvhj6WgfDTpq7F")
|
||||||
private String key;
|
private String key;
|
||||||
|
|
||||||
@Value("${synchro.driver-class-name}")
|
@Value("${synchro.driver-class-name:com.mysql.cj.jdbc.Driver}")
|
||||||
private String jdbcDriverClassName;
|
private String jdbcDriverClassName;
|
||||||
|
|
||||||
@Value("${synchro.url}")
|
@Value("${synchro.url:jdbc:mysql://15.2.21.238:3310/share_platform?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&useSSL=false}")
|
||||||
private String jdbcUrl;
|
private String jdbcUrl;
|
||||||
|
|
||||||
@Value("${synchro.username}")
|
@Value("${synchro.username:root}")
|
||||||
private String jdbcUserName;
|
private String jdbcUserName;
|
||||||
|
|
||||||
@Value("${synchro.password}")
|
@Value("${synchro.password:Hisense2019}")
|
||||||
private String jdbcPassWord;
|
private String jdbcPassWord;
|
||||||
|
|
||||||
private static final String userName = "ynszdz";
|
private static final String userName = "ynszdz";
|
||||||
|
|
Loading…
Reference in New Issue