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 {