fangyuan
2023-01-16 ecad870fe1896c8c3e48506d50bb5818974253bf
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
spring:
  profiles:
    active: dev
  main:
    allow-circular-references: true
    allow-bean-definition-overriding: true
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  application:
    name: sccg-platform
  http:
    charset: UTF-8
    enabled: true
    force: true
 
  servlet:
    multipart:
      location: D://files/upload/
      max-file-size: -1
      max-request-size: -1
#  jackson:
#    default-property-inclusion: non_null
 
 
management:
  health:
    rabbit:
      enabled: false
 
jwt:
  tokenHeader: Authorization #JWT存储的请求头
  secret: platform-secret #JWT加解密使用的密钥
  expiration: 604800 #JWT的超期限时间(60*60*24*7)
  tokenHead: 'Bearer ' #JWT负载中拿到开头
 
#redis:
#  database: sccg
#  key:
#    admin: 'ums:admin'
#    resourceList: 'ums:menuList'
#  expire:
#    common: 86400 # 24小时
 
#MP配置
mybatis-plus:
  mapper-locations: classpath*:mapper/**/*.xml
  global-config:
    db-config:
      id-type: auto
      #逻辑删除配置字段
      logic-delete-field:
      #逻辑删除配置字段 1 删除
      logic-delete-value: 1
      #逻辑删除配置字段 0 不删除
      logic-not-delete-value: 0
 
knife4j:
  enable: true
  #true则是生产环境不允许访问knife4j
  production: false
 
secure:
  ignored:
    urls:
      - /swagger-ui.html
      - /swagger/**
      - /swagger-ui/*
      - /swagger-resources/**
      - /**/v2/api-docs
      - /doc.html
      - /**/*.html
      - /**/*.js
      - /**/*.css
      - /**/*.png
      - /**/*.ico
#      - /newsAdmin/login