spring:
|
application:
|
name: water-detective
|
profiles:
|
active: test #默认为开发环境
|
servlet:
|
multipart:
|
enabled: true #开启文件上传
|
max-file-size: 10MB #限制文件上传大小为10M
|
|
jwt:
|
token_header: Token #JWT存储的请求头
|
secret: hardware-lunhan-secret #JWT加解密密钥(所有硬件项目通用,公用一个用户中心登录,其他项目不写登录接口,直接用token)
|
expiration: 15811200 #JWT的超期限时间(60*60*24*183) 单位:秒
|
head: 'Bearer ' #JWT负载中拿到开头
|
|
wechat:
|
appid: wx1fc63488ed4b6f04
|
secret: 883d188be8593bd14c9b637ca5405c04
|
grant_type: authorization_code
|
|
mail:
|
smtp: smtp.aliyun.com
|
port: 465
|
userName: lin.liu@aliyun.com
|
password:
|
sendEmail: lin.liu@aliyun.com
|