13693261870
6 天以前 73e913fb24bf163ab9c5332ab960b1eb56a6402b
se-system/src/main/resources/application-prod.yml
@@ -9,15 +9,13 @@
    context-path: /
spring:
  application:
    name: se-system
  mvc:
    static-path-pattern: /static/**
  # redis
  redis:
    database: 0
    host: 192.168.11.203
    port: 6379
    database: 1
    host: 127.0.0.1
    port: 6369
    password: rediS_5L#F4_Server
    # 连接超时时长(毫秒)
    timeout: 10000
@@ -51,9 +49,11 @@
  # datasource
  datasource:
    type: com.alibaba.druid.pool.DruidDataSource
    url: jdbc:postgresql://192.168.11.203:5432/jhs?useAffectedRows=true
    #url: jdbc:postgresql://192.168.11.205:5433/jhs?useAffectedRows=true
    url: jdbc:postgresql://127.0.0.1:5433/jhs?useAffectedRows=true
    username: postgres
    password: Postgres!_17_jHs
    #password: Postgres!_14_Lf
    password: postgres
    driver-class-name: org.postgresql.Driver
    platform: POSTGRESQL
    filters: stat,wall,log4j
@@ -85,8 +85,23 @@
mybatis-plus:
  type-aliases-package: com.terra.system.entity
  config-location: classpath:mybatis.xml
  mapper-locations: classpath:mapper/**/*.xml
# springdoc配置
springdoc:
  gatewayUrl: /${spring.application.name}
  api-docs:
    # 是否开启接口文档
    enabled: true
  info:
    # 标题
    title: '系统模块接口文档'
    # 描述
    description: '系统模块接口描述'
    # 作者信息
    contact:
      name: wuww
      url: https://www.smartearth.cn/
# logging
logging:
@@ -101,8 +116,6 @@
# 系统配置
sys:
  # 启用swagger
  swaggerEnable: true
  # 自动查询
  autoQuery: 0
  # 管理员ID