From d173c12b07244d7b97eb0dd14e93b8923e3ba063 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期一, 13 十一月 2023 16:06:23 +0800 Subject: [PATCH] Rename .java to .kt --- src/main/resources/application.yml | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 44b3b7e..0889e17 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,17 +1,37 @@ spring: datasource: - driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://localhost:3306/fume - username: fume - password: fume_feiyu2023 + ds1: + driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://localhost:3306/fume +# username: fume +# password: fume_feiyu2023 -# url: jdbc:mysql://localhost:3306/qianduan_sql -# username: root -# password: 1234 +# url: jdbc:mysql://localhost:3306/qianduan_sql +# username: root +# password: 1234 + +# url: jdbc:mysql://localhost:3306/fume +# username: root +# password: 123456 + + url: jdbc:mysql://114.215.109.124:3306/fume + username: fumeRemote + password: feiyu2023 mybatis: configuration: - log-impl: org.apache.ibatis.logging.stdout.StdOutImpl +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl + log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl map-underscore-to-camel-case: true + type-aliases-package: com.flightfeather.monitor.domain.ds1.entity + mapper-locations: classpath*:mapper/**/*.xml + +# 閫氱敤 Mapper 閰嶇疆 +# mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑 +mapper: + mappers: com.flightfeather.monitor.domain.util.MyMapper + not-empty: false + identity: MYSQL + server: port: 8081 -- Gitblit v1.9.3