{"id":1108717,"date":"2025-01-08T17:02:57","date_gmt":"2025-01-08T09:02:57","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1108717.html"},"modified":"2025-01-08T17:03:01","modified_gmt":"2025-01-08T09:03:01","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e8%b7%af%e5%be%84%e4%b8%ad%e6%98%af%e5%90%a6%e6%9c%89%e4%b8%ad%e6%96%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1108717.html","title":{"rendered":"python\u5982\u4f55\u5224\u65ad\u8def\u5f84\u4e2d\u662f\u5426\u6709\u4e2d\u6587"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25072242\/1bc6f84b-9d57-42f7-80ff-ef579ead148d.webp\" alt=\"python\u5982\u4f55\u5224\u65ad\u8def\u5f84\u4e2d\u662f\u5426\u6709\u4e2d\u6587\" \/><\/p>\n<p><p> <strong>Python\u5224\u65ad\u8def\u5f84\u4e2d\u662f\u5426\u6709\u4e2d\u6587\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u7f16\u7801\u68c0\u6d4b\u3001\u904d\u5386\u5b57\u7b26\u8fdb\u884c\u5224\u65ad<\/strong>\u3002\u5176\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u6700\u4e3a\u7b80\u6d01\u548c\u9ad8\u6548\u7684\u65b9\u6cd5\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u793a\u4f8b\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u6b63\u5219\u8868\u8fbe\u5f0f\u5224\u65ad<\/p>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u7528\u6765\u5339\u914d\u5b57\u7b26\u4e32\u4e2d\u7684\u7279\u5b9a\u6a21\u5f0f\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u68c0\u6d4b\u8def\u5f84\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def has_chinese(path):<\/p>\n<p>    return bool(re.search(r&#39;[\\u4e00-\\u9fff]&#39;, path))<\/p>\n<p>path = &#39;\/path\/to\/\u6587\u4ef6&#39;<\/p>\n<p>if has_chinese(path):<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4ee3\u7801\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f <code>r&#39;[\\u4e00-\\u9fff]&#39;<\/code> \u5339\u914d\u6240\u6709\u4e2d\u6587\u5b57\u7b26\u3002\u51fd\u6570 <code>has_chinese<\/code> \u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u6307\u793a\u8def\u5f84\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5b57\u7b26\u4e32\u7f16\u7801\u68c0\u6d4b<\/p>\n<\/p>\n<p><p>\u53e6\u4e00\u79cd\u65b9\u6cd5\u662f\u5c1d\u8bd5\u5c06\u8def\u5f84\u5b57\u7b26\u4e32\u7f16\u7801\u4e3a ASCII\uff0c\u5982\u679c\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u8fd9\u5c06\u5f15\u53d1\u5f02\u5e38\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def has_chinese(path):<\/p>\n<p>    try:<\/p>\n<p>        path.encode(&#39;ascii&#39;)<\/p>\n<p>    except UnicodeEncodeError:<\/p>\n<p>        return True<\/p>\n<p>    return False<\/p>\n<p>path = &#39;\/path\/to\/\u6587\u4ef6&#39;<\/p>\n<p>if has_chinese(path):<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>path.encode(&#39;ascii&#39;)<\/code> \u4f1a\u5c1d\u8bd5\u5c06\u8def\u5f84\u5b57\u7b26\u4e32\u7f16\u7801\u4e3a ASCII\u3002\u5982\u679c\u8def\u5f84\u4e2d\u5305\u542b\u975e ASCII \u5b57\u7b26\uff08\u5982\u4e2d\u6587\u5b57\u7b26\uff09\uff0c\u8fd9\u5c06\u5f15\u53d1 <code>UnicodeEncodeError<\/code> \u5f02\u5e38\uff0c\u4ece\u800c\u8fd4\u56de <code>True<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u904d\u5386\u5b57\u7b26\u8fdb\u884c\u5224\u65ad<\/p>\n<\/p>\n<p><p>\u6211\u4eec\u4e5f\u53ef\u4ee5\u904d\u5386\u8def\u5f84\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e00\u4e2a\u5b57\u7b26\uff0c\u5224\u65ad\u5b83\u662f\u5426\u662f\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def has_chinese(path):<\/p>\n<p>    for char in path:<\/p>\n<p>        if &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fff&#39;:<\/p>\n<p>            return True<\/p>\n<p>    return False<\/p>\n<p>path = &#39;\/path\/to\/\u6587\u4ef6&#39;<\/p>\n<p>if has_chinese(path):<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u904d\u5386\u8def\u5f84\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e00\u4e2a\u5b57\u7b26\uff0c\u5e76\u68c0\u67e5\u5b83\u662f\u5426\u5728\u4e2d\u6587\u5b57\u7b26\u7684 Unicode \u8303\u56f4\u5185\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u63d0\u9ad8\u51c6\u786e\u6027<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u63d0\u9ad8\u5224\u65ad\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u4e0a\u8ff0\u591a\u79cd\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def has_chinese(path):<\/p>\n<p>    if re.search(r&#39;[\\u4e00-\\u9fff]&#39;, path):<\/p>\n<p>        return True<\/p>\n<p>    try:<\/p>\n<p>        path.encode(&#39;ascii&#39;)<\/p>\n<p>    except UnicodeEncodeError:<\/p>\n<p>        return True<\/p>\n<p>    for char in path:<\/p>\n<p>        if &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fff&#39;:<\/p>\n<p>            return True<\/p>\n<p>    return False<\/p>\n<p>path = &#39;\/path\/to\/\u6587\u4ef6&#39;<\/p>\n<p>if has_chinese(path):<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>else:<\/p>\n<p>    print(&quot;\u8def\u5f84\u4e2d\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e94\u3001\u5e94\u7528\u573a\u666f\u5206\u6790<\/p>\n<\/p>\n<ol>\n<li><strong>\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c<\/strong>\uff1a\u5728\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\u4e2d\uff0c\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u53ef\u80fd\u4f1a\u5bfc\u81f4\u4e00\u4e9b\u8de8\u5e73\u53f0\u95ee\u9898\u3002\u901a\u8fc7\u68c0\u6d4b\u8def\u5f84\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u63d0\u524d\u8fdb\u884c\u5904\u7406\uff0c\u907f\u514d\u6f5c\u5728\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u7f51\u7edc\u8bf7\u6c42<\/strong>\uff1a\u5728\u5904\u7406\u7f51\u7edc\u8bf7\u6c42\u65f6\uff0c\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u53ef\u80fd\u9700\u8981\u8fdb\u884c URL \u7f16\u7801\u3002\u901a\u8fc7\u68c0\u6d4b\u8def\u5f84\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u786e\u5b9a\u662f\u5426\u9700\u8981\u8fdb\u884c\u7f16\u7801\u64cd\u4f5c\u3002<\/li>\n<li><strong>\u65e5\u5fd7\u8bb0\u5f55<\/strong>\uff1a\u5728\u65e5\u5fd7\u8bb0\u5f55\u4e2d\uff0c\u5982\u679c\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u80fd\u4f1a\u5f71\u54cd\u65e5\u5fd7\u7684\u53ef\u8bfb\u6027\u3002\u901a\u8fc7\u68c0\u6d4b\u8def\u5f84\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u5bf9\u8def\u5f84\u8fdb\u884c\u9002\u5f53\u7684\u5904\u7406\uff0c\u63d0\u9ad8\u65e5\u5fd7\u7684\u53ef\u8bfb\u6027\u3002<\/li>\n<\/ol>\n<p><p>\u516d\u3001\u6027\u80fd\u8003\u8651<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6027\u80fd\u4e5f\u662f\u4e00\u4e2a\u9700\u8981\u8003\u8651\u7684\u91cd\u8981\u56e0\u7d20\u3002\u4e0d\u540c\u7684\u65b9\u6cd5\u5728\u6027\u80fd\u4e0a\u53ef\u80fd\u4f1a\u6709\u6240\u5dee\u5f02\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u65b9\u6cd5\u5177\u6709\u8f83\u9ad8\u7684\u6548\u7387\uff0c\u4f46\u5728\u5904\u7406\u975e\u5e38\u957f\u7684\u8def\u5f84\u5b57\u7b26\u4e32\u65f6\uff0c\u6027\u80fd\u53ef\u80fd\u4f1a\u6709\u6240\u4e0b\u964d\u3002\u5b57\u7b26\u4e32\u7f16\u7801\u68c0\u6d4b\u65b9\u6cd5\u5728\u5904\u7406\u5305\u542b\u5927\u91cf\u975e ASCII \u5b57\u7b26\u7684\u8def\u5f84\u65f6\u53ef\u80fd\u4f1a\u66f4\u5feb\u3002\u904d\u5386\u5b57\u7b26\u7684\u65b9\u6cd5\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u6027\u80fd\u9002\u4e2d\uff0c\u4f46\u5728\u8def\u5f84\u5b57\u7b26\u4e32\u975e\u5e38\u957f\u65f6\u53ef\u80fd\u4f1a\u53d8\u5f97\u8f83\u6162\u3002<\/p>\n<\/p>\n<p><p>\u4e3a\u4e86\u9009\u62e9\u6700\u9002\u5408\u7684\u68c0\u6d4b\u65b9\u6cd5\uff0c\u5efa\u8bae\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u8fdb\u884c\u6027\u80fd\u6d4b\u8bd5\uff0c\u6839\u636e\u5177\u4f53\u7684\u4f7f\u7528\u573a\u666f\u9009\u62e9\u6700\u5408\u9002\u7684\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p>\u4e03\u3001\u5b9e\u9645\u5e94\u7528\u793a\u4f8b<\/p>\n<\/p>\n<p><p>\u5047\u8bbe\u6211\u4eec\u6709\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6587\u4ef6\u8def\u5f84\u7684\u5217\u8868\uff0c\u6211\u4eec\u5e0c\u671b\u68c0\u6d4b\u8fd9\u4e9b\u8def\u5f84\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u5e76\u5bf9\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u7684\u8def\u5f84\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def has_chinese(path):<\/p>\n<p>    if re.search(r&#39;[\\u4e00-\\u9fff]&#39;, path):<\/p>\n<p>        return True<\/p>\n<p>    try:<\/p>\n<p>        path.encode(&#39;ascii&#39;)<\/p>\n<p>    except UnicodeEncodeError:<\/p>\n<p>        return True<\/p>\n<p>    for char in path:<\/p>\n<p>        if &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fff&#39;:<\/p>\n<p>            return True<\/p>\n<p>    return False<\/p>\n<p>file_paths = [<\/p>\n<p>    &#39;\/path\/to\/file1.txt&#39;,<\/p>\n<p>    &#39;\/\u8def\u5f84\/\u5230\/\u6587\u4ef62.txt&#39;,<\/p>\n<p>    &#39;\/another\/path\/to\/file3.txt&#39;,<\/p>\n<p>    &#39;\/\u66f4\u591a\/\u8def\u5f84\/\u6587\u4ef64.txt&#39;<\/p>\n<p>]<\/p>\n<p>for path in file_paths:<\/p>\n<p>    if has_chinese(path):<\/p>\n<p>        print(f&quot;\u8def\u5f84 &#39;{path}&#39; \u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;\u8def\u5f84 &#39;{path}&#39; \u4e2d\u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5305\u542b\u591a\u4e2a\u6587\u4ef6\u8def\u5f84\u7684\u5217\u8868\uff0c\u5e76\u4f7f\u7528 <code>has_chinese<\/code> \u51fd\u6570\u68c0\u6d4b\u6bcf\u4e2a\u8def\u5f84\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002\u5982\u679c\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u6211\u4eec\u53ef\u4ee5\u6839\u636e\u9700\u8981\u5bf9\u8fd9\u4e9b\u8def\u5f84\u8fdb\u884c\u5904\u7406\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\u548c\u793a\u4f8b\uff0c\u6211\u4eec\u53ef\u4ee5\u5728 Python \u4e2d\u6709\u6548\u5730\u5224\u65ad\u8def\u5f84\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u5e76\u6839\u636e\u5177\u4f53\u7684\u5e94\u7528\u573a\u666f\u8fdb\u884c\u9002\u5f53\u7684\u5904\u7406\u3002\u5e0c\u671b\u8fd9\u4e9b\u65b9\u6cd5\u548c\u793a\u4f8b\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u68c0\u6d4b\u6587\u4ef6\u8def\u5f84\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u68c0\u6d4b\u6587\u4ef6\u8def\u5f84\u4e2d\u7684\u4e2d\u6587\u5b57\u7b26\u3002Python\u7684<code>re<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5b57\u7b26\u4e32\u5904\u7406\u80fd\u529b\u3002\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\uff0c\u5229\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u5339\u914d\u4e2d\u6587\u5b57\u7b26\u7684Unicode\u8303\u56f4\uff0c\u4f8b\u5982<code>\\u4e00-\\u9fa5<\/code>\u3002\u5982\u679c\u8def\u5f84\u4e2d\u5b58\u5728\u8fd9\u4e9b\u5b57\u7b26\uff0c\u5219\u8bf4\u660e\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u3002<\/p>\n<p><strong>\u4f7f\u7528Python\u7684\u54ea\u4e9b\u5e93\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5904\u7406\u4e2d\u6587\u8def\u5f84\uff1f<\/strong><br \/>\u5728\u5904\u7406\u4e2d\u6587\u8def\u5f84\u65f6\uff0c<code>os<\/code>\u548c<code>pathlib<\/code>\u5e93\u662f\u975e\u5e38\u6709\u7528\u7684\u3002<code>os.path<\/code>\u6a21\u5757\u63d0\u4f9b\u4e86\u591a\u79cd\u8def\u5f84\u64cd\u4f5c\u529f\u80fd\uff0c\u800c<code>pathlib<\/code>\u5219\u63d0\u4f9b\u4e86\u9762\u5411\u5bf9\u8c61\u7684\u8def\u5f84\u64cd\u4f5c\u65b9\u5f0f\u3002\u8fd9\u4e24\u4e2a\u5e93\u90fd\u53ef\u4ee5\u5e2e\u52a9\u5f00\u53d1\u8005\u8f7b\u677e\u7ba1\u7406\u548c\u64cd\u4f5c\u6587\u4ef6\u8def\u5f84\uff0c\u5305\u62ec\u4e2d\u6587\u5b57\u7b26\u7684\u8def\u5f84\u3002<\/p>\n<p><strong>\u5982\u679c\u8def\u5f84\u4e2d\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u5982\u4f55\u786e\u4fdd\u6587\u4ef6\u64cd\u4f5c\u4e0d\u4f1a\u51fa\u9519\uff1f<\/strong><br \/>\u4e3a\u4e86\u786e\u4fdd\u5728\u5904\u7406\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u7684\u8def\u5f84\u65f6\u4e0d\u4f1a\u51fa\u73b0\u9519\u8bef\uff0c\u5efa\u8bae\u4f7f\u7528<code>Unicode<\/code>\u7f16\u7801\u3002\u5728Python\u4e2d\uff0c\u6240\u6709\u5b57\u7b26\u4e32\u9ed8\u8ba4\u662fUnicode\uff0c\u56e0\u6b64\u53ef\u4ee5\u76f4\u63a5\u64cd\u4f5c\u4e2d\u6587\u8def\u5f84\u3002\u786e\u4fdd\u5728\u6587\u4ef6\u8bfb\u53d6\u6216\u5199\u5165\u65f6\u4f7f\u7528<code>open<\/code>\u51fd\u6570\uff0c\u5e76\u6307\u5b9a<code>encoding=&#39;utf-8&#39;<\/code>\uff0c\u8fd9\u6837\u53ef\u4ee5\u907f\u514d\u56e0\u7f16\u7801\u95ee\u9898\u5bfc\u81f4\u7684\u9519\u8bef\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5224\u65ad\u8def\u5f84\u4e2d\u662f\u5426\u6709\u4e2d\u6587\u7684\u65b9\u6cd5\u5305\u62ec\uff1a\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528\u5b57\u7b26\u4e32\u7f16\u7801\u68c0\u6d4b\u3001\u904d\u5386\u5b57\u7b26\u8fdb\u884c\u5224\u65ad\u3002\u5176\u4e2d\uff0c\u6b63\u5219\u8868 [&hellip;]","protected":false},"author":3,"featured_media":1108724,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108717"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1108717"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108717\/revisions"}],"predecessor-version":[{"id":1108727,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1108717\/revisions\/1108727"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1108724"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1108717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1108717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1108717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}