mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Feat: download file from single file share
This commit is contained in:
@@ -172,6 +172,8 @@ func InitMasterRouter() *gin.Engine {
|
||||
{
|
||||
// 获取分享
|
||||
share.GET(":id", controllers.GetShare)
|
||||
// 创建文件下载会话
|
||||
share.POST("download/:id", controllers.GetShareDownload)
|
||||
}
|
||||
|
||||
// 需要登录保护的
|
||||
|
||||
Reference in New Issue
Block a user