作者 yangfu

消息修改

@@ -114,7 +114,7 @@ func ResizeImage(fileType, sourcePath, prefix, subfix string, file *multipart.Fi @@ -114,7 +114,7 @@ func ResizeImage(fileType, sourcePath, prefix, subfix string, file *multipart.Fi
114 fmt.Println(err) 114 fmt.Println(err)
115 return 115 return
116 } 116 }
117 - image = imaging.Resize(image, 0, 200, imaging.Lanczos) 117 + image = imaging.Resize(image, 0, 400, imaging.Lanczos)
118 err = imaging.Save(image, filename) 118 err = imaging.Save(image, filename)
119 if err != nil { 119 if err != nil {
120 log.Error(err) 120 log.Error(err)