处理图片压缩异常问题
This commit is contained in:
parent
1b92cc0047
commit
df6234790e
@ -117,6 +117,8 @@ public class FileServiceImpl extends AbstractService implements IFileService {
|
||||
// 压缩图片
|
||||
if (isImageFile(fileType)) {
|
||||
compressImage(fileFullPath);
|
||||
File photo = new File(fileFullPath);
|
||||
fileSize = photo.length();
|
||||
}
|
||||
params.put("fileId", UUIDUtil.getUUID());
|
||||
params.put("fileName", fileName);
|
||||
|
Loading…
Reference in New Issue
Block a user