Commit 9c0246a5 authored by Quxl's avatar Quxl

x

parent bbc0a12a
......@@ -197,7 +197,6 @@ public class WebUtilController {
@GetMapping("exportExcel")
@ApiOperation("导出Excel")
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"));
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