123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #三方支付配置
- pay:
- callbackUrl: https://api.quanshu123.com/service/notify/payCallback
- # 日志配置
- logging:
- config: classpath:logback-8200.xml
- level:
- com.qs.mp: debug
- org.springframework: info
- org.apache: warn
- io.lettuce.core: warn
- org.quartz.core: warn
- com.qs.mp.framework.interceptor: warn
- # 数据源配置
- spring:
- redis:
- host: 172.17.0.17
- port: 6379
- password: SD232@%Gwwer1ds0(SS323
- # 连接超时时间(毫秒)
- timeout: 10000
- jedis:
- pool:
- # 连接池中的最大空闲连接
- max-idle: 30
- # 连接池中的最小空闲连接
- min-idle: 6
- # 连接池最大连接数(使用负值表示没有限制)
- max-active: 10
- # 连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: 3000
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driverClassName: com.mysql.cj.jdbc.Driver
- druid:
- # 主库数据源
- master:
- url: jdbc:mysql://172.17.0.3:3306/ygpdb-prod?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
- username: ygp_prod
- password: x23W%s2PcW23)vw23Csaw234)3
- # 从库数据源
- slave:
- # 从数据源开关/默认关闭
- enabled: false
- url:
- username:
- password:
- # 初始连接数
- initialSize: 5
- # 最小连接池数量
- minIdle: 10
- # 最大连接池数量
- maxActive: 20
- # 配置获取连接等待超时的时间
- maxWait: 60000
- # 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒
- timeBetweenEvictionRunsMillis: 60000
- # 配置一个连接在池中最小生存的时间,单位是毫秒
- minEvictableIdleTimeMillis: 300000
- # 配置一个连接在池中最大生存的时间,单位是毫秒
- maxEvictableIdleTimeMillis: 900000
- # 配置检测连接是否有效
- validationQuery: SELECT 1 FROM DUAL
- testWhileIdle: true
- testOnBorrow: false
- testOnReturn: false
- webStatFilter:
- enabled: true
- statViewServlet:
- enabled: true
- # 设置白名单,不填则允许所有访问
- allow:
- url-pattern: /monitor/druid/*
- filter:
- stat:
- enabled: true
- # 慢SQL记录
- log-slow-sql: true
- slow-sql-millis: 1000
- merge-sql: true
- wall:
- config:
- multi-statement-allow: true
- # 环境配置
- server:
- # 服务端口
- port: 8200
- servlet:
- # 项目contextPath
- context-path: /
- session-timeout: 1800
- # 生成唯一ID的,同一Mac地址多应用的部署方式,用这个进行区分
- datacenterId: 1
- # 环境标识
- env: prod
- #API访问
- client:
- # appKey
- device:
- appKey: 3c8b36cf4ace53e76a210e5edd75ef2b
- # appSecret
- appSecret: b84382574b0f4988bc68367fbc340d3a
- # cloud
- cloud:
- # 存储对象公开可访问
- public-bucket-name: mp-public-1307117429
- # 存储对象公开不可访问,需要通过应用下载
- private-bucket-name: mp-auth-1307117429
- # 小程序
- miniprogram:
- # 接收通知的状态
- state: formal
- # 盲票导出每页查询数量
- export:
- page-size: 2000
|