diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index ef42820b..0be29756 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -223,7 +223,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq moduleDataMap["materialList"] = materialList var combineParam map[string]interface{} - json.Unmarshal([]byte(*resLogoInfo.Metadata), &combineParam) + json.Unmarshal(*resLogoInfo.Metadata, &combineParam) combineParam["resolution"] = in.Resolution combineParam["template_tagid"] = in.TemplateTag combineParam["website"] = in.Website @@ -248,7 +248,8 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq } else { globalBLMServiceIndex = globalBLMServiceIndex + 1 } - + cc, _ := json.Marshal(postMap) + logx.Info("合图数据:", string(cc)) logc.Infof(ctx, "合图--算法请求--合图--开始时间:%v", time.Now().UTC()) var startTimeLogoCombine = time.Now().UnixMilli() //合图--处理--开始时间