From 6da7fa0665bff1def1c95e372330e689dc3e3734 Mon Sep 17 00:00:00 2001 From: yitonglei Date: Tue, 19 Jul 2022 16:59:48 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=90=8C=E6=AD=A5=E6=91=84=E5=83=8F?= =?UTF-8?q?=E5=A4=B4=E6=A0=87=E7=AD=BE=E4=BF=A1=E6=81=AF=E6=97=B6=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../io/renren/modules/monitor/service/MonitorService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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";