123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- spring:
- redis:
- host: 172.16.90.64
- database: 0
- port: 6379
- password:
- timeout: 300ms
- boot:
- admin:
- client:
- # admin 服务端的地址
- url: http://localhost:9091
- management:
- endpoints:
- web:
- exposure:
- include: '*'
- endpoint:
- health:
- # 展示详情
- show-details: always
- # 过滤不需要认证路径条件
- secure:
- ignored:
- urls: #安全路径白名单
- - /swagger-ui.html
- - /swagger-resources/**
- - /swagger/**
- - /**/v2/api-docs
- - /**/*.js
- - /**/*.css
- - /**/*.png
- - /**/*.ico
- - /webjars/springfox-swagger-ui/**
- - /actuator/**
- - /druid/**
- - /home/**
- - /product/**
- - /wechat/h5/authorize
- - /wechat/h5/userInfo
- - /admin/login
- - /sso/login
- - /sso/getLoginCode
- - /sso/register
- - /sso/getAuthCode
- - /admin/register
- - /admin/info
- - /admin/logout
- - /minio/upload
- - /sso/loginPhone
- - /product/import
- - /big/**
- - /bigData/**
- - /upload/**
- jwt:
- tokenHeader: Authorization
- secret: forest-admin-secret
- expiration: 604800
- tokenHead: Bearer
- redis:
- database: forest
- key:
- admin: 'ums:admin'
- token: 'ums:token'
- resourceList: 'ums:resourceList'
- expire:
- #24小时
- common: 86400
|