Feat: client-upload file in oss

This commit is contained in:
HFO4
2020-01-16 13:36:13 +08:00
parent 0e62665d7f
commit dd198becce
13 changed files with 302 additions and 48 deletions

View File

@@ -11,7 +11,7 @@ import (
// UploadCredentialService 获取上传凭证服务
type UploadCredentialService struct {
Path string `form:"path" binding:"required"`
Size uint64 `form:"size" binding:"required,min=0"`
Size uint64 `form:"size" binding:"min=0"`
}
// Get 获取新的上传凭证