上传图片测试

This commit is contained in:
苏尹岚
2020-04-01 09:33:35 +08:00
parent 4bec1314fa
commit 73a261df90

View File

@@ -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 {