luodangjia
2024-08-09 fa672aad1a91b2a8481324339e063230d378039e
guns-admin/src/main/resources/application.yml
@@ -3,7 +3,7 @@
guns:
  swagger-open: true              #是否开启swagger (true/false)
  kaptcha-open: false             #是否开启登录时验证码 (true/false)
  kaptcha-open: true             #是否开启登录时验证码 (true/false)
#  file-upload-path: d:/tmp       #文件上传目录(不配置的话为java.io.tmpdir目录)
  spring-session-open: false      #是否开启spring session,如果是多机环境需要开启(true/false)
  session-invalidate-time: 1800     #session失效时间(只在单机环境下生效,多机环境在SpringSessionConfig类中配置) 单位:秒
@@ -11,7 +11,7 @@
spring:
  profiles:
    active: @spring.active@
    active: local
  mvc:
    static-path-pattern: /static/**
    view:
@@ -46,9 +46,9 @@
spring:
  profiles: local
  datasource:
    url: jdbc:mysql://127.0.0.1:3306/man_health?useSSL=false&serverTimezone=GMT&useUnicode=true&amp&characterEncoding=utf-8&amp&serverTimezone=Asia/Shanghai
    url: jdbc:mysql://1.92.197.158:3306/man_health?useSSL=false&serverTimezone=GMT&useUnicode=true&amp&characterEncoding=utf-8&amp&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
    username: root
    password: 123456
    password: Xiwang2024!
    db-name: man_health #用来搜集数据库的所有表
    filters: wall,mergeStat
  redis: