qirong
2023-04-07 a499e5a737991461554805af6b72fba65a680776
ycl-platform/src/main/resources/application.yml
@@ -13,8 +13,10 @@
    charset: UTF-8
    enabled: true
    force: true
  servlet:
    multipart:
      location: D://files/upload/
      max-file-size: -1
      max-request-size: -1
#  jackson:
@@ -32,13 +34,13 @@
  expiration: 604800 #JWT的超期限时间(60*60*24*7)
  tokenHead: 'Bearer ' #JWT负载中拿到开头
redis:
  database: sccg
  key:
    admin: 'ums:admin'
    resourceList: 'ums:menuList'
  expire:
    common: 86400 # 24小时
#redis:
#  database: sccg
#  key:
#    admin: 'ums:admin'
#    resourceList: 'ums:menuList'
#  expire:
#    common: 86400 # 24小时
#MP配置
mybatis-plus:
@@ -58,3 +60,18 @@
  #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