serv-权限+文件下载
This commit is contained in:
@@ -46,7 +46,7 @@ file:
|
||||
- type: local
|
||||
enabled: true
|
||||
base-path: ./uploads
|
||||
url-prefix: http://localhost:8080/files
|
||||
|
||||
|
||||
# MinIO存储配置(如不需要可以删除或设置enabled为false)
|
||||
# - type: minio
|
||||
@@ -55,8 +55,10 @@ file:
|
||||
# access-key: minioadmin
|
||||
# secret-key: minioadmin
|
||||
# bucket-name: school-news
|
||||
|
||||
# 服务端口
|
||||
server:
|
||||
port: 8086
|
||||
# 认证配置
|
||||
school-news:
|
||||
auth:
|
||||
# 免登录白名单 - file模块
|
||||
white-list:
|
||||
- "/file/download/**"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user