diff --git a/IDEA/src/main/resources/application.yaml b/IDEA/src/main/resources/application.yaml new file mode 100644 index 00000000..06a726c1 --- /dev/null +++ b/IDEA/src/main/resources/application.yaml @@ -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: + mail: + debug: true + smtp: + ssl: + enable: true + +# 设置日志级别会给root根节点设置,代表整体应用的级别 +logging: + level: + root: info \ No newline at end of file