Commit bbc0a12a authored by Quxl's avatar Quxl

x

parent 6ce3c2ca
......@@ -199,7 +199,7 @@ public class WebUtilController {
public void exportExcel(HttpServletResponse response) throws IOException {
response.setHeader("content-type", "application/octet-stream");
response.setContentType("application/octet-stream");
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("影片列表 [" + DateUtil.format(new Date(), "yyMMdd_HHmmss") + "].xls", "UTF-8"));
response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode("影片列表[" + DateUtil.format(new Date(), "yyMMdd-HHmmss") + "].xls", "UTF-8"));
exportService.export(response.getOutputStream());
}
}
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