{ "data": { "file": { "name": "1.xlsx", "type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "tmp_name": "C:\wamp64\tmp\php14C3.tmp", "error": 0, "size": 9231 } } }
类型对照
类型名称 | 类型说明 | 扩展名示例 |
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | Excel表格2007以上 | .xlsx |
application/vnd.ms-excel | Excel表格97-2003 | .xls |
application/vnd.openxmlformats-officedocument.wordprocessingml.document | Word文档2007以上 | .docx |
application/msword | Word表格97-2003 | .doc |
application/pdf | PDF文档 | |
image/gif | GIF图片 | .gif |
image/jpeg | JPG图片 | .jpg |
image/png | PNG图片 | .png |