上传图片测试
This commit is contained in:
@@ -131,7 +131,7 @@ func TryRegisterDataResource(ctx *jxcontext.Context, name, resourceURL string, i
|
|||||||
return dataRes, nil
|
return dataRes, nil
|
||||||
}
|
}
|
||||||
resBinary, hashCode, err := jxutils.DownloadFileByURL(resourceURL)
|
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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user