政企WPS
This commit is contained in:
@ -731,7 +731,7 @@ public class WpsServiceImpl implements WpsService {
|
|||||||
tempFile = File.createTempFile("tempDoc", "."+fileExtension);
|
tempFile = File.createTempFile("tempDoc", "."+fileExtension);
|
||||||
tempFile.deleteOnExit(); // 在程序退出时删除临时文件
|
tempFile.deleteOnExit(); // 在程序退出时删除临时文件
|
||||||
|
|
||||||
byte[] b = "2222".getBytes();
|
byte[] b = " ".getBytes();
|
||||||
OutputStream out = new FileOutputStream(tempFile);
|
OutputStream out = new FileOutputStream(tempFile);
|
||||||
out.write(b);
|
out.write(b);
|
||||||
out.close();
|
out.close();
|
||||||
|
Reference in New Issue
Block a user