Commit b05e2caa authored by 刘林's avatar 刘林

fix(JG):使用登记证套打改为word功能

parent c3ec77b8
......@@ -926,7 +926,7 @@ public class CommonServiceImpl implements ICommonService {
try (InputStream fin = Files.newInputStream(file.toPath())) {
response.setCharacterEncoding("utf-8");
response.setContentType("application/msword");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("使用登记证.docx", "UTF-8"));
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("使用登记证套打.docx", "UTF-8"));
byte[] buffer = new byte[512];
int bytesRead;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment