liulin
2024-08-02 12c82c37acb998a3c269871e22e339d66b9f1c1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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