From f9e6ab814eda626e10d06cba87c7f2e544a519ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 10 Apr 2020 14:21:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=9B=BE=E7=89=87=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxutils/datares/datares.go | 1 - business/jxutils/jxutils_cms.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxutils/datares/datares.go b/business/jxutils/datares/datares.go index 164966208..267ad6da7 100644 --- a/business/jxutils/datares/datares.go +++ b/business/jxutils/datares/datares.go @@ -131,7 +131,6 @@ func TryRegisterDataResource(ctx *jxcontext.Context, name, resourceURL string, i return dataRes, nil } resBinary, hashCode, err := jxutils.DownloadFileByURL(resourceURL) - globals.SugarLogger.Debugf("TryRegisterDataResource2, name:%s,resBinary:%s, hashCode:%s, err: %v", name, resBinary, hashCode, err) if err != nil { return nil, err } diff --git a/business/jxutils/jxutils_cms.go b/business/jxutils/jxutils_cms.go index 1f4b50e60..c8ea98268 100644 --- a/business/jxutils/jxutils_cms.go +++ b/business/jxutils/jxutils_cms.go @@ -464,6 +464,7 @@ func (s SkuList) Swap(i, j int) { func DownloadFileByURL(fileURL string) (bodyData []byte, fileMD5 string, err error) { response, err := http.Get(fileURL) + globals.SugarLogger.Debugf("TryRegisterDataResource2, response:%v", utils.Format4Output(response, false)) if err == nil { defer response.Body.Close() if response.StatusCode == http.StatusOK {