fix:图片裁剪
This commit is contained in:
parent
ca645368aa
commit
cefa83e1e2
|
@ -132,6 +132,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
groupOptions = templateInfo["groupOptions"].(map[string]interface{})
|
groupOptions = templateInfo["groupOptions"].(map[string]interface{})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("合图开始时间:", time.Now())
|
||||||
|
|
||||||
var moduleDataMap = make(map[string]interface{}, 4)
|
var moduleDataMap = make(map[string]interface{}, 4)
|
||||||
moduleDataMap["id"] = productTemplateV2Info.Id
|
moduleDataMap["id"] = productTemplateV2Info.Id
|
||||||
moduleDataMap["material"] = productTemplateV2Info.MaterialImg
|
moduleDataMap["material"] = productTemplateV2Info.MaterialImg
|
||||||
|
@ -199,6 +201,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
logx.Error(err)
|
logx.Error(err)
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("合图结束时间:", time.Now())
|
||||||
// {
|
// {
|
||||||
// id: "",
|
// id: "",
|
||||||
// logo_url:"https://s3.amazon.com/xxxx",
|
// logo_url:"https://s3.amazon.com/xxxx",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user