forked from gzzfw/backEnd/gz-dyh

wangwh
2024-08-28 b47d4a7accabce974e19d2a1ffb3c5c67507d74b
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#spring配置
spring:
  profiles:
    active:
      - dev
#      - test
#      - prod
  cloud:
    gateway:
      discovery:
        locator:
          enabled: true
          lower-case-service-id: true
  main:
    allow-bean-definition-overriding: true
 
#debug: true
server:
  tomcat:
    min-spare-threads: 100
    max-threads: 256
    connection-timeout: 8000
  servlet:
    context-path: /
    ssl:
      enabled: false
 
#management配置
management:
  endpoint:
    health:
      show-details: always
  endpoints:
    web:
      exposure:
        include: "*"
 
#JWT配置
jwt:
  #jwt生成密钥
  secret-key: asdfghjkl
  #用户
  iss-user: HUGEINFO
  refresh-token-key:
    #refreshToken 存储key
    format: JWT_REFRESH_TOKEN::%s
  blacklist-key:
    #token黑名单 存储key
    format: JWT_BLACKLIST::%s
  token:
    #token过期时间:12小时
    expire-time: 43200000
  refresh-token:
    #refreshToken过期时间:13小时,比token时间长一点
    expire-time: 46800000
  #不进行token拦截
  auth-skip-urls: /dyh-cust/api/web/ctAccount/login,/dyh-sys/api/v1/sync/universalSync