You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

37 lines
936 B

server:
port: 8443
spring:
application:
name: blog_system
datasource:
url: jdbc:mysql://localhost:3306/ssl?characterEncoding=utf-8&useSSL=false
driver-class-name: com.mysql.jdbc.Driver
username: root
password: Qww1151868461
hikari:
minimum-idle: 3
maximum-pool-size: 10
max-lifetime: 30000 #不能小于30秒,否则默认回到1800秒
connection-test-query: SELECT 1
jpa:
show-sql: true
redis:
port: 6379
host: 127.0.0.1
password:
image.save-path: /usr/app/upload
#MyBatis使用pageHelper分页
pagehelper:
helper-dialect: mysql
reasonable: true
support-methods-arguments: true
#mybatis-plus:
# configuration:
# # 是否开启自动驼峰命名规则(camel case)映射,即从经典数据库列名 A_COLUMN(下划线命名) 到经典 Java 属性名 aColumn(驼峰命名) 的类似映射
# map-underscore-to-camel-case: false