一般来说导出excel时
如果是excel97~2003,那么content-type应该设置为:application/vnd.ms-excel,
如果是excel2007以后的,那么content-type应该设置为:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
参考:https://blog.csdn.net/xiaojia_boke/article/details/81140647