桌码下载修复linux下下载不正常测试
This commit is contained in:
parent
c3fd6ca6b3
commit
d78fc8dcbb
|
|
@ -151,11 +151,12 @@ public class ShopTableServiceImpl extends ServiceImpl<ShopTableMapper, ShopTable
|
|||
|
||||
byte[] byteArray = qrBytesList.get(i);
|
||||
zipOut.write(byteArray, 0, byteArray.length);
|
||||
|
||||
zipOut.flush();
|
||||
// 确保每个条目被正确关闭
|
||||
zipOut.closeEntry();
|
||||
}
|
||||
zipOut.finish();
|
||||
zipOut.flush();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue