政企WPS

This commit is contained in:
zhangqinbin
2023-12-22 10:08:04 +08:00
parent 665e1a6665
commit d741394116

View File

@ -731,7 +731,7 @@ public class WpsServiceImpl implements WpsService {
tempFile = File.createTempFile("tempDoc", "."+fileExtension);
tempFile.deleteOnExit(); // 在程序退出时删除临时文件
byte[] b = "2222".getBytes();
byte[] b = " ".getBytes();
OutputStream out = new FileOutputStream(tempFile);
out.write(b);
out.close();