上传图片测试

This commit is contained in:
苏尹岚
2020-04-10 14:17:17 +08:00
parent 351525f325
commit a56667a83c

View File

@@ -131,7 +131,7 @@ 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", name, resBinary, hashCode)
globals.SugarLogger.Debugf("TryRegisterDataResource2, name:%s,resBinary:%s, hashCode:%s, err: %v", name, resBinary, hashCode, err)
if err != nil {
return nil, err
}