您这边加一下QQ:2184785786协助您解决一下问题
我也是导出是乱码,postman可以保存为Excel,contentype我们是
response.setContentType("multipart/form-data");
response 的content-type 应不是 multipart/form-data 哈。
MSExcel有以下观察到的MIME类型:
application/vnd.ms-excel
application/msexcel
application/x-msexcel
application/x-ms-excel
application/x-excel
application/x-dos_ms_excel
application/xls
application/x-xls
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
response.setContentType("application/vnd.ms-excel");