maxdb: zhongke: api-key: application-5479ccf9b59c66432e5529febe94719a application-id: 1a0e5e60-f1bd-11ef-a7de-0242ac110002 chat-url: http://192.168.0.122:8080/api/application/%s/chat/open talk-url: http://192.168.0.122:8080/api/application/chat_message/%s screen: api-key: application-6e8250fa092a566c7c0aea0e08c9b1a3 application-id: adc51c8c-f3f4-11ef-a70b-0242ac110002 chat-url: http://192.168.0.122:8080/api/application/%s/chat/open talk-url: http://192.168.0.122:8080/api/application/chat_message/%s spring: redis: #数据库索引 database: 9 host: 120.24.176.53 port: 6580 password: Hzzy891212 #连接超时时间 timeout: 5000 datasource: druid: db-type: com.alibaba.druid.pool.DruidDataSource driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy url: jdbc:log4jdbc:mysql://36.138.204.4:3306/chatgpt?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false&rewriteBatchedStatements=true username: chatgpt_rw password: Chatgpt@20231211 # 初始连接数 initial-size: 5 # 最小连接数 min-idle: 10 # 最大连接数 max-active: 20 # 获取连接超时时间 max-wait: 5000 # 连接有效性检测时间 time-between-eviction-runs-millis: 60000 # 连接在池中最小生存的时间 min-evictable-idle-time-millis: 300000 # 连接在池中最大生存的时间 max-evictable-idle-time-millis: 900000 test-while-idle: true test-on-borrow: true test-on-return: false # 检测连接是否有效 validation-query: select 1 # 配置监控统计 webStatFilter: enabled: true stat-view-servlet: enabled: true url-pattern: /druid/* reset-enable: false filter: stat: enabled: true # 记录慢SQL log-slow-sql: true slow-sql-millis: 1000 merge-sql: true wall: config: multi-statement-allow: true jpa: properties: hibernate: ddl-auto: none dialect: org.hibernate.dialect.MySQL5InnoDBDialect open-in-view: true mybatis-plus: check-config-location: true configuration: map-underscore-to-camel-case: true global-config: db-config: id-type: auto logic-delete-value: 1 logic-not-delete-value: 0 mapper-locations: classpath:mapper/*.xml server: port: 8888 tomcat: max-swallow-size: 104857600