From e0a949b785625f2f1e823c20abd5b6c7bfd6bf12 Mon Sep 17 00:00:00 2001 From: kevin Date: Mon, 15 Nov 2021 10:05:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=AC=E4=B8=89=E6=96=B9=E5=85=8D=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E6=8E=88=E6=9D=83=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/manage/config/WebServiceConfig.java | 1 + power-admin/src/main/resources/config/jdbc.properties | 2 ++ 2 files changed, 3 insertions(+) diff --git a/power-admin/src/main/java/com/manage/config/WebServiceConfig.java b/power-admin/src/main/java/com/manage/config/WebServiceConfig.java index a52c9a7..e30d779 100644 --- a/power-admin/src/main/java/com/manage/config/WebServiceConfig.java +++ b/power-admin/src/main/java/com/manage/config/WebServiceConfig.java @@ -16,6 +16,7 @@ public class WebServiceConfig { @Bean(name = Bus.DEFAULT_BUS_ID) public SpringBus springBus() { + return new SpringBus(); } diff --git a/power-admin/src/main/resources/config/jdbc.properties b/power-admin/src/main/resources/config/jdbc.properties index 47022d3..e5818e6 100644 --- a/power-admin/src/main/resources/config/jdbc.properties +++ b/power-admin/src/main/resources/config/jdbc.properties @@ -3,6 +3,8 @@ jdbc.url=jdbc\:mysql\://192.168.1.3\:3306/nanfang_hospital?useUnicode\=true&char jdbc.username=root jdbc.password=mamba1998 + + #hibernate config hibernate.dialect = org.hibernate.dialect.MySQLDialect hibernate.show_sql = true