heheng
2025-05-16 8485affcb0d4de05059d80cb1e844d6b18291654
src/main/resources/config/application-dev.yaml
@@ -6,12 +6,12 @@
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.2.6:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
    url: jdbc:mysql://192.168.2.19:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
    username: root
    password: 2farwL3yPXfbH2AP
    master:
      driver-class-name: com.mysql.cj.jdbc.Driver
      url: jdbc:mysql://192.168.2.6:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
      url: jdbc:mysql://192.168.2.19:7006/laboratory_risk_manage?allowMultiQueries=true&useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&useAffectedRows=true
      username: root
      password: 2farwL3yPXfbH2AP
      type: com.alibaba.druid.pool.DruidDataSource
@@ -20,10 +20,15 @@
      ddl-auto: none
#      ddl-auto: update #自动更新
    show-sql: true  #日志中显示sql语句
    properties:
      hibernate:
        format_sql: true
mybatis:
  mapper-locations: classpath:mapper/*.xml
#  type-aliases-package: com.gkhy.labRiskManage.domain.**
logging:
  level:
    com.gkhy.labRiskManage: debug
  redis:
#    host: 192.168.0.52
#    port: 6371