|
|
|
@ -0,0 +1,79 @@
|
|
|
|
|
spring:
|
|
|
|
|
devtools:
|
|
|
|
|
restart:
|
|
|
|
|
enabled: true #设置开启热部署
|
|
|
|
|
additional-paths: src/main/java #重启目录
|
|
|
|
|
servlet:
|
|
|
|
|
multipart:
|
|
|
|
|
location: D:\intelligentHealthCare\resources\temp
|
|
|
|
|
max-file-size: 200MB
|
|
|
|
|
max-request-size: 200MB
|
|
|
|
|
datasource:
|
|
|
|
|
username: root
|
|
|
|
|
password: root
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
url: jdbc:mysql://localhost:3306/intelligentHealthCare?characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true
|
|
|
|
|
jpa:
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
format_sql: true
|
|
|
|
|
jdbc:
|
|
|
|
|
time_zone: Asia/Shanghai
|
|
|
|
|
hbm2ddl:
|
|
|
|
|
auto: update
|
|
|
|
|
properties:
|
|
|
|
|
hibernate:
|
|
|
|
|
dialect: org.hibernate.dialect.MySQL5InnoDBDialect
|
|
|
|
|
jdbc:
|
|
|
|
|
time_zone: Asia/Shanghai
|
|
|
|
|
jackson:
|
|
|
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
|
|
|
time-zone: GMT+8
|
|
|
|
|
locale: zh_CN
|
|
|
|
|
default-property-inclusion: non_null
|
|
|
|
|
serialization:
|
|
|
|
|
write_dates_as_timestamps: false
|
|
|
|
|
profiles:
|
|
|
|
|
active: local
|
|
|
|
|
mail:
|
|
|
|
|
#配置smtp服务主机地址
|
|
|
|
|
# qq邮箱为smtp.qq.com 端口号465或587
|
|
|
|
|
# sina smtp.sina.cn
|
|
|
|
|
# aliyun smtp.aliyun.com
|
|
|
|
|
# 163 smtp.163.com 端口号465或994
|
|
|
|
|
host: smtp.qq.com
|
|
|
|
|
#配置密码,注意不是真正的密码,而是刚刚申请到的授权码
|
|
|
|
|
username: 1545558448@qq.com
|
|
|
|
|
password: akruwpztoznnigdf
|
|
|
|
|
#端口号465或587
|
|
|
|
|
port: 587
|
|
|
|
|
#默认的邮件编码为UTF-8
|
|
|
|
|
default-encoding: UTF-8
|
|
|
|
|
#其他参数
|
|
|
|
|
properties:
|
|
|
|
|
mail:
|
|
|
|
|
#配置SSL 加密工厂
|
|
|
|
|
smtp:
|
|
|
|
|
ssl:
|
|
|
|
|
#本地测试,先放开ssl
|
|
|
|
|
enable: false
|
|
|
|
|
required: false
|
|
|
|
|
#开启debug模式,这样邮件发送过程的日志会在控制台打印出来,方便排查错误
|
|
|
|
|
debug: true
|
|
|
|
|
app:
|
|
|
|
|
baseService: api
|
|
|
|
|
resources-location: D:\intelligentHealthCare\resources\
|
|
|
|
|
default-sub-location: resources
|
|
|
|
|
remoteService: service
|
|
|
|
|
workflowService: workflow
|
|
|
|
|
clientService: clientService
|
|
|
|
|
security:
|
|
|
|
|
JWT-KEY: "INTELLIGENT" #认证令牌
|
|
|
|
|
JWT-TTL: 6048000000 #过期时间七天
|
|
|
|
|
logging:
|
|
|
|
|
level:
|
|
|
|
|
com.intelligentHealthCare: debug
|
|
|
|
|
platform:
|
|
|
|
|
name: "智能康养管理平台"
|
|
|
|
|
email: "1545558448@qq.com"
|
|
|
|
|
website: "127.0.0.1:5173"
|