【fix】 文件下载修复
This commit is contained in:
parent
723a9340b9
commit
6fdf08ae13
@ -168,7 +168,7 @@ public class FileServiceImpl implements FileService {
|
||||
|
||||
// 创建从开始年份到当前年份的子目录
|
||||
for (int year = beginYear; year <= currentYear; year++) {
|
||||
File yearDir = new File(Const.SERVER_FILE_PATH + "/" + api + "—" + year);
|
||||
File yearDir = new File(Const.SERVER_FILE_PATH + "/" + api + "-" + year);
|
||||
if (!yearDir.exists()) {
|
||||
yearDir.mkdir();
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user