|
@@ -1,81 +0,0 @@
|
|
|
-server:
|
|
|
- port: 8080
|
|
|
-
|
|
|
-spring:
|
|
|
- application:
|
|
|
- name: file-collect
|
|
|
- profiles:
|
|
|
- active: dev
|
|
|
- servlet:
|
|
|
- multipart:
|
|
|
- max-file-size: 10737418240
|
|
|
- max-request-size: 10737418240
|
|
|
-
|
|
|
-mybatis-plus:
|
|
|
- mapper-locations: classpath:/mapper/**/*.xml
|
|
|
- global-config:
|
|
|
- db-config:
|
|
|
- id-type: auto
|
|
|
- configuration:
|
|
|
- auto-mapping-behavior: partial
|
|
|
- map-underscore-to-camel-case: true
|
|
|
-
|
|
|
-jwt:
|
|
|
- tokenHeader: Authorization #JWT存储的请求头
|
|
|
- secret: mall-admin-secret #JWT加解密使用的密钥
|
|
|
- expiration: 604800 #JWT的超期限时间(60*60*24*7)
|
|
|
- tokenHead: 'Bearer ' #JWT负载中拿到开头
|
|
|
-
|
|
|
-redis:
|
|
|
- database: power
|
|
|
- key:
|
|
|
- admin: 'ums:admin'
|
|
|
- resourceList: 'ums:resourceList'
|
|
|
- provinceList: 'business:provinceList'
|
|
|
- lineList: 'business:lineList'
|
|
|
- directory: 'business:directory'
|
|
|
- expire:
|
|
|
- common: 86400 # 24小时
|
|
|
-
|
|
|
-secure:
|
|
|
- ignored:
|
|
|
- urls: #安全路径白名单
|
|
|
- - /swagger-ui.html
|
|
|
- - /swagger-resources/**
|
|
|
- - /swagger/**
|
|
|
- - /**/v2/api-docs
|
|
|
- - /**/*.js
|
|
|
- - /**/*.css
|
|
|
- - /**/*.png
|
|
|
- - /**/*.ico
|
|
|
- - /**/*.woff
|
|
|
- - /**/*.ttf
|
|
|
- - /**/*.map
|
|
|
- - /webjars/springfox-swagger-ui/**
|
|
|
- - /actuator/**
|
|
|
- - /druid/**
|
|
|
- - /admin/login
|
|
|
- - /admin/register
|
|
|
- - /admin/info
|
|
|
- - /admin/logout
|
|
|
- - /
|
|
|
- - /index.html
|
|
|
- - /line/findByKeySimple
|
|
|
- - /line/detail/**
|
|
|
- - /device/**
|
|
|
-upload:
|
|
|
- temp-path: ./temp/
|
|
|
- path: ./upload/ #文件上传路径
|
|
|
- power-path: ./power/
|
|
|
-
|
|
|
-thread:
|
|
|
- pool:
|
|
|
- corePoolSize: 10
|
|
|
- maxPoolSize: 20
|
|
|
- keepAliveSeconds: 5
|
|
|
- queueCapacity: 512
|
|
|
-
|
|
|
-
|
|
|
-weather:
|
|
|
- REQUEST_URL: https://devapi.qweather.com/v7/weather/now
|
|
|
- KEY: b7942152d9844b958862bd612297b471
|