From 865bb55a86ee8aa21440bfc382cdcf9ec25db356 Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Tue, 22 Aug 2023 10:02:50 +0800 Subject: [PATCH] fix --- service/repositories/image_handle.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index 1f86dacb..01310e23 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -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")