diff --git a/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java b/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java index 3a4b1618..391d858e 100644 --- a/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java +++ b/renren-admin/src/main/java/io/renren/modules/monitor/service/MonitorService.java @@ -87,16 +87,16 @@ public class MonitorService { @Value("iOgQotfgfyLvhj6WgfDTpq7F") private String key; - @Value("${synchro.driver-class-name}") + @Value("${synchro.driver-class-name:com.mysql.cj.jdbc.Driver}") 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; - @Value("${synchro.username}") + @Value("${synchro.username:root}") private String jdbcUserName; - @Value("${synchro.password}") + @Value("${synchro.password:Hisense2019}") private String jdbcPassWord; private static final String userName = "ynszdz";