fix:图片裁剪

This commit is contained in:
Hiven 2023-08-18 18:41:51 +08:00
parent ca645368aa
commit cefa83e1e2

View File

@ -132,6 +132,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
groupOptions = templateInfo["groupOptions"].(map[string]interface{})
}
fmt.Println("合图开始时间:", time.Now())
var moduleDataMap = make(map[string]interface{}, 4)
moduleDataMap["id"] = productTemplateV2Info.Id
moduleDataMap["material"] = productTemplateV2Info.MaterialImg
@ -199,6 +201,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
logx.Error(err)
return nil, err
}
fmt.Println("合图结束时间:", time.Now())
// {
// id: "",
// logo_url:"https://s3.amazon.com/xxxx"