上传完善
This commit is contained in:
@@ -39,13 +39,13 @@ type (
|
||||
UploadInfo {
|
||||
FileSize int64 `form:"file_size,optional"` // 上传唯一标识信息
|
||||
FileKeys string `form:"file_keys,optional"` // 上传唯一标识信息
|
||||
Metadata string `form:"file_keys,optional"` // 上传文件额外信息
|
||||
Metadata string `form:"meta_data,optional"` // 上传文件额外信息
|
||||
}
|
||||
|
||||
UploadFilesReq {
|
||||
ApiType int64 `form:"api_type,options=[1,2],default=1"` // 调用类型:1=对外,2=对内
|
||||
UploadBucket string `form:"upload_bucket"` // 上传桶名
|
||||
UploadInfo []UploadInfo `form:"upload_info,optional"` // 上传信息
|
||||
ApiType int64 `form:"api_type,options=[1,2],default=1"` // 调用类型:1=对外,2=对内
|
||||
UploadBucket int64 `form:"upload_bucket,options=[1,2],default=1"` // 上传桶名:1=缓存,2=持久
|
||||
UploadInfo string `form:"upload_info"` // 上传信息 json
|
||||
}
|
||||
UploadCallbackReq {
|
||||
FileType string `form:"file_type"` // 文件类型 / fbx / hdr
|
||||
|
||||
Reference in New Issue
Block a user