Commit 02ffc850 authored by cuijun's avatar cuijun

文件压缩250图片格式

parent 55f85b34
......@@ -172,7 +172,7 @@ public class UploadService {
g.dispose();
// 保存压缩后的图片
String compressedFilePath = baseUploadPath + dirPathToday + no + ".jpg_250";
String compressedFilePath = baseUploadPath + dirPathToday + "/"+ no + ".jpg_250";
ImageIO.write(resizedImage, "jpg", new File(compressedFilePath));
realFileRelPath = xx_url + SystemConfig.XXMP_URL + realFileRelPath;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment