上传图片测试
This commit is contained in:
@@ -136,6 +136,9 @@ func TryRegisterDataResource(ctx *jxcontext.Context, name, resourceURL string, i
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
fmt.Println("test11", resBinary)
|
||||
fmt.Println("test22", *dataRes)
|
||||
fmt.Println("test33", hashCode)
|
||||
return RegisterDataResource(ctx, name, resourceURL, http.DetectContentType(resBinary), hashCode, resBinary, imgType, isAsyncUpload2Vendor)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user