fix:图片裁剪

This commit is contained in:
Hiven 2023-08-18 17:51:51 +08:00
parent 588b07915b
commit 0f576cc3c2

View File

@ -251,7 +251,7 @@ type (
/* 图片裁剪 */
func (l *defaultImageHandle) LogoStandard(ctx context.Context, in *LogoStandardReq) (*LogoStandardRes, error) {
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["logo_file"] = in.LogoFile
postMap["width"] = in.Width