yanghb
2023-03-29 355bd526866ff6c3874fb6013a7424a462a21140
ManagementTravel/guns-admin/src/main/resources/application.yml
@@ -1,5 +1,5 @@
server:
  port: 8010
  port: 5004
guns:
  swagger-open: true              #是否开启swagger (true/false)
@@ -67,10 +67,10 @@
spring:
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/jyxtravel?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://127.0.0.1:3306/kuanzhaiyx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai
    username: root
    password: root
    db-name: jyxtravel #用来搜集数据库的所有表
    password: 123456
    db-name: kuanzhaiyx #用来搜集数据库的所有表
    filters: wall,mergeStat
@@ -79,10 +79,10 @@
guns:
  muti-datasource:
    open: false
    url: jdbc:mysql://120.24.34.190:3306/mask?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
    url: jdbc:mysql://127.0.0.1:3306/kuanzhaiyx?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=GMT%2B8
    username: root
#    password: Root2020!
    password: root
    password: 123456
    dataSourceNames:
      - dataSourceGuns
      - dataSourceBiz