fix:上传大图限制
This commit is contained in:
@@ -37,6 +37,9 @@ type (
|
||||
|
||||
// logo合图
|
||||
LogoCombine(ctx context.Context, in *LogoCombineReq) (*LogoCombineRes, error)
|
||||
|
||||
// logo裁剪
|
||||
LogoStandard(ctx context.Context, in *LogoStandardReq) (*LogoStandardRes, error)
|
||||
}
|
||||
)
|
||||
|
||||
@@ -225,3 +228,20 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||
}
|
||||
|
||||
/* logo合图 */
|
||||
type (
|
||||
LogoStandardReq struct {
|
||||
IsRemoveBg string `json:"is_remove_bg"`
|
||||
LogoFile string `json:"logo_file"`
|
||||
Width string `json:"width"`
|
||||
Height string `json:"height"`
|
||||
Proportion int64 `json:"proportion"`
|
||||
}
|
||||
LogoStandardRes struct{}
|
||||
)
|
||||
|
||||
/* 图片裁剪 */
|
||||
func (l *defaultImageHandle) LogoStandard(ctx context.Context, in *LogoStandardReq) (*LogoStandardRes, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
/* 图片裁剪 */
|
||||
|
||||
Reference in New Issue
Block a user