桌码下载修复linux下下载不正常测试
This commit is contained in:
@@ -155,8 +155,7 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
|
|||||||
// 确保每个条目被正确关闭
|
// 确保每个条目被正确关闭
|
||||||
zipOut.closeEntry();
|
zipOut.closeEntry();
|
||||||
}
|
}
|
||||||
|
zipOut.finish();
|
||||||
// 注意:不需要手动调用 zipOut.close(),try-with-resources 会自动关闭流
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user