mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-29 20:31:56 +08:00
Feat: generate share URL
This commit is contained in:
@@ -233,6 +233,13 @@ func InitMasterRouter() *gin.Engine {
|
||||
object.POST("rename", controllers.Rename)
|
||||
}
|
||||
|
||||
// 分享
|
||||
share := auth.Group("share")
|
||||
{
|
||||
// 创建新分享
|
||||
share.POST("", controllers.CreateShare)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user