This commit is contained in:
momo 2023-08-22 10:02:50 +08:00
parent 6c798adc97
commit 865bb55a86

View File

@ -140,6 +140,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
}
fmt.Println("合图开始时间:", time.Now())
logx.Infof("合图请求算法--开始时间:%v", time.Now())
var moduleDataMap = make(map[string]interface{}, 4)
moduleDataMap["id"] = productTemplateV2Info.Id
@ -176,6 +177,9 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq
logx.Error(err)
return nil, err
}
logx.Infof("合图请求算法--结束时间:%v", time.Now())
logx.Infof("合图请求算法--返回结果:%v", string(b))
var resultStr string
if string(b) == "Internal Server Error" {
err = errors.New("BLMService fail Internal Server Error")