fix:图片裁剪
This commit is contained in:
parent
588b07915b
commit
0f576cc3c2
|
@ -251,7 +251,7 @@ type (
|
||||||
/* 图片裁剪 */
|
/* 图片裁剪 */
|
||||||
func (l *defaultImageHandle) LogoStandard(ctx context.Context, in *LogoStandardReq) (*LogoStandardRes, error) {
|
func (l *defaultImageHandle) LogoStandard(ctx context.Context, in *LogoStandardReq) (*LogoStandardRes, error) {
|
||||||
var resourceId string = hash.JsonHashKey(in)
|
var resourceId string = hash.JsonHashKey(in)
|
||||||
var postMap = make(map[string]interface{}, 2)
|
var postMap = make(map[string]interface{}, 5)
|
||||||
postMap["is_remove_bg"] = in.IsRemoveBg
|
postMap["is_remove_bg"] = in.IsRemoveBg
|
||||||
postMap["logo_file"] = in.LogoFile
|
postMap["logo_file"] = in.LogoFile
|
||||||
postMap["width"] = in.Width
|
postMap["width"] = in.Width
|
||||||
|
|
Loading…
Reference in New Issue
Block a user