Feat: support setting "last modified" props when creating upload session

This commit is contained in:
HFO4
2022-02-27 14:05:21 +08:00
parent e37e93a7b6
commit 6fdf77e00e
5 changed files with 45 additions and 36 deletions

View File

@@ -504,8 +504,6 @@ func InitMasterRouter() *gin.Engine {
// 文件
file := auth.Group("file", middleware.HashID(hashid.FileID))
{
// 文件上传
file.POST("upload", controllers.FileUploadStream)
// 创建上传会话
file.PUT("upload/session", controllers.GetUploadCredential)
// 更新文件