fix
This commit is contained in:
parent
9cb979d830
commit
6b4617b6e7
|
@ -223,7 +223,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
moduleDataMap["materialList"] = materialList
|
moduleDataMap["materialList"] = materialList
|
||||||
|
|
||||||
var combineParam map[string]interface{}
|
var combineParam map[string]interface{}
|
||||||
json.Unmarshal([]byte(*resLogoInfo.Metadata), &combineParam)
|
json.Unmarshal(*resLogoInfo.Metadata, &combineParam)
|
||||||
combineParam["resolution"] = in.Resolution
|
combineParam["resolution"] = in.Resolution
|
||||||
combineParam["template_tagid"] = in.TemplateTag
|
combineParam["template_tagid"] = in.TemplateTag
|
||||||
combineParam["website"] = in.Website
|
combineParam["website"] = in.Website
|
||||||
|
@ -248,7 +248,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
|
||||||
} else {
|
} else {
|
||||||
globalBLMServiceIndex = globalBLMServiceIndex + 1
|
globalBLMServiceIndex = globalBLMServiceIndex + 1
|
||||||
}
|
}
|
||||||
|
cc, _ := json.Marshal(postMap)
|
||||||
|
logx.Info("合图数据:", string(cc))
|
||||||
logc.Infof(ctx, "合图--算法请求--合图--开始时间:%v", time.Now().UTC())
|
logc.Infof(ctx, "合图--算法请求--合图--开始时间:%v", time.Now().UTC())
|
||||||
var startTimeLogoCombine = time.Now().UnixMilli() //合图--处理--开始时间
|
var startTimeLogoCombine = time.Now().UnixMilli() //合图--处理--开始时间
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user