fix:上传大图限制
This commit is contained in:
@@ -42,8 +42,21 @@ service upload {
|
||||
@handler UploadFileBaseHandler
|
||||
post /api/upload/upload-file-base(UploadFileBaseReq) returns (response);
|
||||
|
||||
@handler UploadLogoStandardHandler
|
||||
post /api/upload/up-standard-logo(UploadLogoStandardReq) returns (response);
|
||||
|
||||
}
|
||||
|
||||
type (
|
||||
UploadLogoStandardReq {
|
||||
IsRemoveBg string `form:"is_remove_bg"`
|
||||
LogoFile string `form:"logo_file"`
|
||||
Width string `form:"width"`
|
||||
Height string `form:"height"`
|
||||
Proportion int64 `form:"proportion"`
|
||||
}
|
||||
)
|
||||
|
||||
type (
|
||||
UploadFileBaseReq {
|
||||
ApiType int64 `form:"api_type,options=[1,2],default=1"` // 调用类型:1=对外,2=对内
|
||||
|
||||
Reference in New Issue
Block a user