TangCheng
2025-03-05 6fb5228c49607ece809d6aedf119825ab82c4a3c
JAVA/SMTAIServer/src/main/resources/application.yml
@@ -9,11 +9,11 @@
    driver-class-name: org.postgresql.Driver
    username: postgres
    #url: jdbc:postgresql://127.0.0.1:15432/huishui_ai?ApplicationName=huishui_ai_web
    #password: p@ssw0rd
    url: jdbc:postgresql://192.168.123.74:5432/huishui_ai?ApplicationName=huishui_ai_web
    url: jdbc:postgresql://127.0.0.1:15432/huishui_ai_dev?ApplicationName=huishui_ai_web
    password: p@ssw0rd
    #    url: jdbc:postgresql://192.168.123.74:5432/huishui_ai?ApplicationName=huishui_ai_web
    #    password: p@ssw0rd
    #url: jdbc:postgresql://192.168.123.43:5432/hswater_supply?ApplicationName=WaterNetWeb
    #password: p@ssw0rd
@@ -33,9 +33,9 @@
    # 连接池配置
    druid:
      # 初始化大小,最小,最大
      initial-size: 10
      initial-size: 0
      min-idle: 10
      max-active: 200
      max-active: 1024
      # 配置获取连接等待超时的时间
      max-wait: 60000
      # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位毫秒
@@ -74,7 +74,7 @@
  servlet:
    multipart:
      max-file-size: 10GB
      max-request-size: 10GB
      max-request-size: 10GB
  cache:
    ehcache:
      config: classpath:ehcache.xml
@@ -82,12 +82,12 @@
    store-type: hazelcast
    #timeout: 1800
    timeout: 1800
#    redis:
#      namespace: redis:session
#  redis:
#    database: 0
#    host: 127.0.0.1
#    port: 6379
  #    redis:
  #      namespace: redis:session
  redis:
    database: 0
    host: 127.0.0.1
    port: 6379
server:
  address: 0.0.0.0
  port: 8080
@@ -95,26 +95,26 @@
    enabled: true
    min-response-size: 1024
    mime-types:
    - application/json
      - application/json
  tomcat:
    max-http-form-post-size: -1
mybatis:
  config-location: classpath:MyBatisConfiguration.xml
  mapper-locations: classpath*:mybatismap/*Mapper.xml
wiai:
  debug_mode: false
  table_data_source: ai_data_source
wiai:
  debug_mode: false
  table_data_source: ai_data_source_rmt
hswater:
  tables:
    global_config: app_global_config
  session:
    header: true
    cookie: true
    trace : false
    trace: false
    hostid: WEB_HOST
  logger:
    sql: false
@@ -123,4 +123,4 @@
    dll:
    jar: