fix: 压缩包下载接口因为报错导致的压缩包内只有一个文件
This commit is contained in:
-1
@@ -351,7 +351,6 @@ public class CommonController {
|
|||||||
ossFile.setDownloadNumber(downloadNumber + 1);
|
ossFile.setDownloadNumber(downloadNumber + 1);
|
||||||
}
|
}
|
||||||
ossFileService.saveDownloadTimes(ossFile.getId(), null);
|
ossFileService.saveDownloadTimes(ossFile.getId(), null);
|
||||||
ossFileService.updateAndPush(ossFile);
|
|
||||||
}
|
}
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
log.error("文件打包失败" + e.getMessage());
|
log.error("文件打包失败" + e.getMessage());
|
||||||
|
|||||||
Reference in New Issue
Block a user