|
|
@@ -85,11 +85,8 @@ public class BaseApiController extends BaseController {
|
|
|
MultipartFile mf = files.get(0);
|
|
|
fileName = FileUtils.orderFileName(mf,id,path,sign);
|
|
|
File file=toFile(fileName);
|
|
|
-
|
|
|
mf.transferTo(file);
|
|
|
- // 图片尺寸不变,压缩图片文件大小outputQuality实现,参数1为最高质量
|
|
|
- //拼接文件路劲
|
|
|
- fileName=compressFile(file,fileName);
|
|
|
+// fileName=compressFile(file,fileName);
|
|
|
LoggerUtils.debug(getClass(), fileName + " 文件上传成功");
|
|
|
} catch (Exception e) {
|
|
|
LoggerUtils.error(getClass(), "文件上传失败", e);
|