上传图片测试
This commit is contained in:
@@ -81,7 +81,7 @@ func RegisterDataResource(ctx *jxcontext.Context, name, resourceURL, mimeType, h
|
||||
return nil, err
|
||||
}
|
||||
fmt.Println("test11111111111111111")
|
||||
img.Bounds().Dx()
|
||||
img.Bounds().Dy()
|
||||
if imgType == model.ImgTypeMain {
|
||||
fmt.Println("test222222222222222222222")
|
||||
if img.Bounds().Dx() != MainImgWidth || img.Bounds().Dy() != MainImgHeight {
|
||||
|
||||
Reference in New Issue
Block a user