|
|
@@ -1,43 +0,0 @@
|
|
|
-server:
|
|
|
- port: 8080
|
|
|
- # 配置⽇志输出级别
|
|
|
- logging:
|
|
|
- level:
|
|
|
- root: info
|
|
|
- com.smart.reader: debug
|
|
|
- spring:
|
|
|
- main:
|
|
|
- allow-circular-references: true
|
|
|
- allow-bean-definition-overriding: true
|
|
|
- application:
|
|
|
- name: smart-reader
|
|
|
- # 配置数据库连接
|
|
|
- datasource:
|
|
|
- url: jdbc:mysql://localhost:3306/smart_reader?serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true&characterEncoding=utf-8&characterEncoding=utf-8
|
|
|
- username: root
|
|
|
- password: 123456
|
|
|
- driver-class-name: com.mysql.cj.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:
|
|
|
- # xml路径
|
|
|
- mapper-locations: classpath:mapper/**/*.xml
|
|
|
- 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:
|