|
@@ -1,57 +0,0 @@
|
|
|
-server:
|
|
|
|
|
- port: 8080
|
|
|
|
|
-# ssl:
|
|
|
|
|
-# certificate: classpath:cert/fullchain.pem
|
|
|
|
|
-# certificate-private-key: classpath:cert/privkey.pem
|
|
|
|
|
-# 配置⽇志输出级别
|
|
|
|
|
-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: wxca3790d0cfe94e8f
|
|
|
|
|
-# secret: b7865d568205b4c224c40a430c70275f
|
|
|
|
|
-# (预览号)
|
|
|
|
|
-wechat:
|
|
|
|
|
- appid: wx334b14b3d0bb1547
|
|
|
|
|
- secret: 0b42a3e4becb7817d08e44e91e2824dd
|
|
|