mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-28 02:41:57 +08:00
Feat: upyun callback & authentication
This commit is contained in:
@@ -144,6 +144,12 @@ func InitMasterRouter() *gin.Engine {
|
||||
middleware.OSSCallbackAuth(),
|
||||
controllers.OSSCallback,
|
||||
)
|
||||
// 又拍云策略上传回调
|
||||
callback.POST(
|
||||
"upyun/:key",
|
||||
middleware.UpyunCallbackAuth(),
|
||||
controllers.UpyunCallback,
|
||||
)
|
||||
}
|
||||
|
||||
// 需要登录保护的
|
||||
|
||||
Reference in New Issue
Block a user