{"id":1705,"date":"2024-11-10T13:44:34","date_gmt":"2024-11-10T05:44:34","guid":{"rendered":"https:\/\/fwq.ai\/blog\/1705\/"},"modified":"2024-11-10T13:44:34","modified_gmt":"2024-11-10T05:44:34","slug":"%e6%96%87%e4%bb%b6%e9%80%89%e6%8b%a9%e5%99%a8-mime-%e7%b1%bb%e5%9e%8b%e8%ae%be%e7%bd%ae%e6%97%a0%e6%95%88%ef%bc%9f%e4%b8%ba%e4%bb%80%e4%b9%88-csv-%e6%96%87%e4%bb%b6%e7%b1%bb%e5%9e%8b%e6%97%a0%e6%b3%95","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/1705\/","title":{"rendered":"\u6587\u4ef6\u9009\u62e9\u5668 Mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f\u4e3a\u4ec0\u4e48 CSV \u6587\u4ef6\u7c7b\u578b\u65e0\u6cd5\u751f\u6548\uff1f"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/001\/246\/273\/173053990870298.jpg\" class=\"aligncenter\" title=\"\u6587\u4ef6\u9009\u62e9\u5668 Mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f\u4e3a\u4ec0\u4e48 CSV \u6587\u4ef6\u7c7b\u578b\u65e0\u6cd5\u751f\u6548\uff1f\u63d2\u56fe\" alt=\"\u6587\u4ef6\u9009\u62e9\u5668 Mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f\u4e3a\u4ec0\u4e48 CSV \u6587\u4ef6\u7c7b\u578b\u65e0\u6cd5\u751f\u6548\uff1f\u63d2\u56fe\" \/><\/p>\n<p><strong>\u6587\u4ef6\u9009\u62e9\u5668 mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f<\/strong><\/p>\n<p>\u5728\u8bd5\u56fe\u9650\u5236\u6587\u4ef6\u9009\u62e9\u5668\u53ea\u80fd\u9009\u62e9\u7279\u5b9a\u6587\u4ef6\u7c7b\u578b\uff08\u4f8b\u5982 XLS\u3001XLSX \u548c CSV\uff09\u65f6\uff0c\u6709\u7528\u6237\u53d1\u73b0\u8bbe\u7f6e Mime \u7c7b\u578b\u4e0d\u8d77\u4f5c\u7528\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4ed6\u4eec\u53d1\u73b0\u53ea\u6709 XLS \u548c XLSX \u7684 Mime \u7c7b\u578b\u751f\u6548\uff0c\u800c CSV \u7684 Mime \u7c7b\u578b\u65e0\u6548\u3002<\/p>\n<p>\u4ee5\u4e0b\u662f\u4e00\u6bb5\u76f8\u5173\u7684\u4ee3\u7801\u793a\u4f8b\uff1a<\/p>\n<pre>&lt;input type=\"file\"\n       id=\"avatar\" name=\"avatar\"\n       accept=\"application\/vnd.ms-excel,application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text\/csv\"&gt;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7528\u6237\u5e0c\u671b\u9009\u62e9\u5668\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u663e\u793a XLS\u3001XLSX \u548c CSV \u6587\u4ef6\u3002\u7136\u800c\uff0c\u8fd0\u884c\u7ed3\u679c\u5374\u53d1\u73b0 CSV \u6587\u4ef6\u4ecd\u7136\u65e0\u6cd5\u88ab\u9009\u62e9\u3002<\/p>\n<p><strong>\u89e3\u51b3\u65b9\u6848<\/strong><\/p>\n<p>\u4e3a\u4e86\u8ba9 CSV Mime \u7c7b\u578b\u751f\u6548\uff0c\u7528\u6237\u8fd8\u53ef\u4ee5\u6dfb\u52a0 &#8220;.csv&#8221; \u6269\u5c55\u540d\u3002<\/p>\n<pre>&lt;input type=\"file\"\n       id=\"avatar\" name=\"avatar\"\n       accept=\"application\/vnd.ms-excel,application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text\/csv, .csv\"&gt;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u901a\u8fc7\u6dfb\u52a0\u6269\u5c55\u540d\uff0c\u6d4f\u89c8\u5668\u80fd\u591f\u66f4\u7cbe\u786e\u5730\u8bc6\u522b CSV \u6587\u4ef6\u7c7b\u578b\uff0c\u4ece\u800c\u907f\u514d\u4e86 Mime \u7c7b\u578b\u51b2\u7a81\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u6587\u4ef6\u9009\u62e9\u5668 Mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f\u4e3a\u4ec0\u4e48 CSV \u6587\u4ef6\u7c7b\u578b\u65e0\u6cd5\u751f\u6548\uff1f\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u4ef6\u9009\u62e9\u5668 mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f \u5728\u8bd5\u56fe\u9650\u5236\u6587\u4ef6\u9009\u62e9\u5668\u53ea\u80fd\u9009\u62e9\u7279\u5b9a\u6587\u4ef6\u7c7b\u578b\uff08\u4f8b\u5982 XLS\u3001XLSX \u548c CSV\uff09\u65f6\uff0c\u6709\u7528\u6237\u53d1\u73b0\u8bbe\u7f6e Mime \u7c7b\u578b\u4e0d\u8d77\u4f5c\u7528\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u4ed6\u4eec\u53d1\u73b0\u53ea\u6709 XLS \u548c XLSX \u7684 Mime \u7c7b\u578b\u751f\u6548\uff0c\u800c CSV \u7684 Mime \u7c7b\u578b\u65e0\u6548\u3002 \u4ee5\u4e0b\u662f\u4e00\u6bb5\u76f8\u5173\u7684\u4ee3\u7801\u793a\u4f8b\uff1a &lt;input type=&#8221;file&#8221; id=&#8221;avatar&#8221; name=&#8221;avatar&#8221; accept=&#8221;application\/vnd.ms-excel,application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text\/csv&#8221;&gt; \u767b\u5f55\u540e\u590d\u5236 \u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u7528\u6237\u5e0c\u671b\u9009\u62e9\u5668\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u53ea\u663e\u793a XLS\u3001XLSX \u548c CSV \u6587\u4ef6\u3002\u7136\u800c\uff0c\u8fd0\u884c\u7ed3\u679c\u5374\u53d1\u73b0 CSV \u6587\u4ef6\u4ecd\u7136\u65e0\u6cd5\u88ab\u9009\u62e9\u3002 \u89e3\u51b3\u65b9\u6848 \u4e3a\u4e86\u8ba9 CSV Mime \u7c7b\u578b\u751f\u6548\uff0c\u7528\u6237\u8fd8\u53ef\u4ee5\u6dfb\u52a0 &#8220;.csv&#8221; \u6269\u5c55\u540d\u3002 &lt;input type=&#8221;file&#8221; id=&#8221;avatar&#8221; name=&#8221;avatar&#8221; accept=&#8221;application\/vnd.ms-excel,application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet,text\/csv, .csv&#8221;&gt; \u767b\u5f55\u540e\u590d\u5236 \u901a\u8fc7\u6dfb\u52a0\u6269\u5c55\u540d\uff0c\u6d4f\u89c8\u5668\u80fd\u591f\u66f4\u7cbe\u786e\u5730\u8bc6\u522b CSV \u6587\u4ef6\u7c7b\u578b\uff0c\u4ece\u800c\u907f\u514d\u4e86 Mime \u7c7b\u578b\u51b2\u7a81\u3002 \u4ee5\u4e0a\u5c31\u662f\u6587\u4ef6\u9009\u62e9\u5668 Mime \u7c7b\u578b\u8bbe\u7f6e\u65e0\u6548\uff1f\u4e3a\u4ec0\u4e48 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-1705","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/1705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=1705"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/1705\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=1705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=1705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=1705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}