123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- spring:
- # datasource
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://123.57.243.207:3306/db_operation?serverTimezone=UTC&characterEncoding=utf8
- username: root
- password: HEchuTIANya1.
- type: com.zaxxer.hikari.HikariDataSource
- hikari:
- pool-name: mysqlDataSourcePool
- maximum-pool-size: 20
- minimum-idle: 10
- connection-timeout: 120000
- validation-timeout: 6000
- idle-timeout: 60000
- login-timeout: 5
- max-lifetime: 60000
- # mybatis-plus
- mybatis-plus:
- global-config:
- db-config:
- id-type: id_worker_str
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- map-underscore-to-camel-case: true
- # logging
- logging:
- file:
- name: ./log/gameContest.log
- level:
- root: info
- org.mybatis: debug
- wechat:
- # 微信第三方平台 (独立部署需要自主申请)
- platform:
- # appid
- appId: xxx
- # appsecret
- appSecret: xxxxx
- # 授权事件接收URL
- ticketUrl: https:xxxxxx/wechat/notice
- # 加解密key
- secret: xxxxx
- # 开发平台配置token
- token: xxxxxx
- # authCallBackUrl 授权回调地址
- authCallBack: https://xxxx/wechat/authCallBack
- # 消息接受地址
- msgCallBack: https://xxxx/wechat/msgCallBack
- # 授权确认界面地址 前端界面路由地址
- confirm-domain: https://www.xxxx
|