1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- spring:
- #数据源连接--start
- datasource:
- #driverClassName: com.mysql.jdbc.Driver
- url: jdbc:mysql://192.168.2.100:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
- username: developer
- password: 05bZ/OxTB:X+yd%1
- type: com.zaxxer.hikari.HikariDataSource
- hikari:
- minimum-idle: 5
- maximum-pool-size: 15
- auto-commit: true
- idle-timeout: 30000
- pool-name: DatebookHikariCP
- max-lifetime: 1800000
- connection-timeout: 30000
- connection-test-query: SELECT 1
- #数据源连接--end
- redis:
- host: 119.29.0.46
- port: 6380
- password: 6#xsI%b4o@5c3RoE
- #Redis数据库索引(默认为0)
- database: 0
- #连接池最大连接数(使用负值表示没有限制)
- jedis:
- pool:
- max-active: 50
- #连接池最大阻塞等待时间(使用负值表示没有限制)
- max-wait: -1
- #连接池中的最大空闲连接
- max-idle: 20
- #连接池中的最小空闲连接
- min-idle: 2
- #连接超时时间(毫秒)
- timeout: 5000
- #上传文件大小
- servlet:
- multipart:
- max-file-size: 10MB
- max-request-size: 100MB
- #日志配置
- logging:
- level:
- root: info
- com.caimei.mapper: debug
- com.caimei.module.product.dao: debug
- # swagger文档显示配置
- swagger:
- enabled: true
- #自定义配置
- wx:
- AppId: wxca7172d7a20bdf7a
- AppSecret: d7f853a64b73d01ef93f3829852a790e
- crmAppId: wxea43a0f9ebce9e66
- crmAppSecret: 1c3cd60908e72dd280840bee9e15f7f6
- # 新旧www服务域名
- caimei:
- oldapi: http://localhost:8100
- zplmapi: http://localhost:8012
- #支付异步回调地址
- notifyUrl: https://spi-b.caimei365.com/PayOrder/paymentCallback
- #支付链接重定向地址
- redirectLink: https://spi-b.caimei365.com/PayOrder/jumpPage
- #图片服务器
- imageDomain: https://img-b.caimei365.com
- #DFS配置
- fdfs:
- so-timeout: 5000 #上传的超时时间
- connect-timeout: 2000 #连接超时时间
- thumb-image: #缩略图生成参数
- width: 150
- height: 150
- tracker-list: #TrackerList参数,支持多个
- - 192.168.2.100:22122
|