桌码下载修复linux下下载不正常测试

This commit is contained in:
张松
2025-02-28 10:15:21 +08:00
parent 5f905da7d6
commit c3fd6ca6b3

View File

@@ -155,8 +155,7 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
// 确保每个条目被正确关闭
zipOut.closeEntry();
}
// 注意:不需要手动调用 zipOut.close()try-with-resources 会自动关闭流
zipOut.finish();
}
}