@ -0,0 +1,32 @@
server:
port: 8088
spring:
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/logistics?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&useSSL=false&serverTimezone=GMT%2b8&allowPublicKeyRetrieval=true
username: root
password: 123456
jpa:
hibernate:
ddl-auto: update
open-in-view: false
show-sql: true
mail:
host: smtp.qq.com
protocol: smtp
default-encoding: UTF-8
port: 465
username: abc@qq.com
password: hmps234234
properties:
debug: true
smtp:
ssl:
enable: true
# 设置日志级别会给root根节点设置,代表整体应用的级别
logging:
level:
root: info