| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- server:
- port: 8080
- # 配置⽇志输出级别
- logging:
- level:
- root: info
- work.baiyun.chronicdiseaseapp: debug
- spring:
- main:
- allow-circular-references: true
- allow-bean-definition-overriding: true
- application:
- name: chronic-disease-app
- # 配置数据库连接
- datasource:
- url: jdbc:mysql://127.0.0.1/chronicdiseaseapp?serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&characterEncoding=utf-8
- username: root
- password: root
- driver-class-name: com.mysql.jdbc.Driver
- type: com.zaxxer.hikari.HikariDataSource
- hikari:
- minimum-idle: 5
- maximum-pool-size: 20
- idle-timeout: 60000
- max-lifetime: 60000
- connection-timeout: 30000
- pool-name: HikariDataSource
- # mybatis-plus 配置
- mybatis-plus:
- configuration:
- map-underscore-to-camel-case: true
- # 打印sql语句
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- # 分⻚插件配置
- pagehelper:
- reasonable: true # 禁⽤合理化时
- support-methods-arguments: true
- params: count=countSql
- row-bounds-with-count: true
- helper-dialect: mysql
- # knife4j的增强配置,不需要增强可以不配
- knife4j:
- enable: true
- setting:
- language: zh_cn
- # 微信小程序配置
- wechat:
- appid: wx334b14b3d0bb1547 # TODO: replace with your AppID
- secret: 0b42a3e4becb7817d08e44e91e2824dd # TODO: replace with your AppSecret
|