From 5e00447da344e9f180df778b72b5934633366938 Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Tue, 22 Aug 2023 10:21:46 +0800 Subject: [PATCH] fix --- service/repositories/image_handle.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/service/repositories/image_handle.go b/service/repositories/image_handle.go index 01310e23..c1899458 100644 --- a/service/repositories/image_handle.go +++ b/service/repositories/image_handle.go @@ -97,10 +97,6 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq json.Unmarshal(hashKeyDataB, &hashKeyDataMap) var resourceId string = hash.JsonHashKey(hashKeyDataMap) - fmt.Println("hashKeyData:", hashKeyData) - - fmt.Println("resourceId:", resourceId) - resourceModel := gmodel.NewFsResourceModel(l.MysqlConn) resourceInfo, err := resourceModel.FindOneById(ctx, resourceId) if err == nil && resourceInfo.ResourceId != "" { @@ -179,7 +175,7 @@ func (l *defaultImageHandle) LogoCombine(ctx context.Context, in *LogoCombineReq } 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")