{"id":1062298,"date":"2024-12-31T15:50:32","date_gmt":"2024-12-31T07:50:32","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1062298.html"},"modified":"2024-12-31T15:50:34","modified_gmt":"2024-12-31T07:50:34","slug":"python%e5%a6%82%e4%bd%95%e5%88%a4%e6%96%ad%e4%b8%ad%e6%96%87%e5%ad%97%e7%ac%a6%e7%9a%84","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1062298.html","title":{"rendered":"python\u5982\u4f55\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-docs.pingcode.com\/wp-content\/uploads\/2024\/12\/06a12c57-58a9-4572-bcb6-6870f200785e.webp?x-oss-process=image\/auto-orient,1\/format,webp\" alt=\"python\u5982\u4f55\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\" \/><\/p>\n<p><p> <strong>Python\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528Unicode\u8303\u56f4\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b49\u3002<\/strong> \u5728\u8fd9\u51e0\u79cd\u65b9\u6cd5\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u662f\u5229\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u6765\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u4e2d\u6587\u5b57\u7b26\u3002\u8be6\u7ec6\u63cf\u8ff0\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\uff1a<\/strong> \u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u4e00\u79cd\u7528\u4e8e\u5339\u914d\u5b57\u7b26\u4e32\u7684\u5de5\u5177\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u5b9a\u7279\u5b9a\u7684\u6a21\u5f0f\u6765\u8fdb\u884c\u5339\u914d\u3002\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528re\u6a21\u5757\u6765\u8fdb\u884c\u6b63\u5219\u8868\u8fbe\u5f0f\u64cd\u4f5c\u3002\u8981\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<code>[\\u4e00-\\u9fff]<\/code>\uff0c\u5176\u4e2d<code>u4e00<\/code>\u5230<code>u9fff<\/code>\u662fUnicode\u4e2d\u4e2d\u6587\u5b57\u7b26\u7684\u8303\u56f4\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u8be6\u7ec6\u4ecb\u7ecd\u51e0\u79cd\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f<\/p>\n<\/p>\n<p><p>\u6b63\u5219\u8868\u8fbe\u5f0f\u662f\u5904\u7406\u5b57\u7b26\u4e32\u7684\u5f3a\u5927\u5de5\u5177\u3002\u5728Python\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528re\u6a21\u5757\u6765\u5b9e\u73b0\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\u529f\u80fd\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_chinese_char(char):<\/p>\n<p>    return re.match(r&#39;[\\u4e00-\\u9fff]&#39;, char) is not None<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_chars = [&#39;\u4f60&#39;, &#39;\u597d&#39;, &#39;a&#39;, &#39;1&#39;, &#39;\u3002&#39;]<\/p>\n<p>for char in test_chars:<\/p>\n<p>    if is_chinese_char(char):<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u4e0d\u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>is_chinese_char<\/code>\u4f7f\u7528\u4e86\u6b63\u5219\u8868\u8fbe\u5f0f<code>r&#39;[\\u4e00-\\u9fff]&#39;<\/code>\u6765\u5339\u914d\u5b57\u7b26\uff0c\u5982\u679c\u5339\u914d\u6210\u529f\uff0c\u5219\u8bf4\u660e\u8be5\u5b57\u7b26\u662f\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528Unicode\u8303\u56f4<\/p>\n<\/p>\n<p><p>Unicode\u4e3a\u6bcf\u4e2a\u5b57\u7b26\u5206\u914d\u4e86\u4e00\u4e2a\u552f\u4e00\u7684\u7f16\u7801\u70b9\u3002\u4e2d\u6587\u5b57\u7b26\u7684\u7f16\u7801\u8303\u56f4\u901a\u5e38\u5728<code>u4e00<\/code>\u5230<code>u9fff<\/code>\u4e4b\u95f4\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u68c0\u67e5\u5b57\u7b26\u7684Unicode\u7f16\u7801\u70b9\u6765\u5224\u65ad\u5176\u662f\u5426\u4e3a\u4e2d\u6587\u5b57\u7b26\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def is_chinese_char(char):<\/p>\n<p>    return &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fff&#39;<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_chars = [&#39;\u4f60&#39;, &#39;\u597d&#39;, &#39;a&#39;, &#39;1&#39;, &#39;\u3002&#39;]<\/p>\n<p>for char in test_chars:<\/p>\n<p>    if is_chinese_char(char):<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u4e0d\u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>is_chinese_char<\/code>\u901a\u8fc7\u6bd4\u8f83\u5b57\u7b26\u7684Unicode\u7f16\u7801\u70b9\u6765\u5224\u65ad\u5176\u662f\u5426\u5728\u4e2d\u6587\u5b57\u7b26\u7684\u8303\u56f4\u5185\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93<\/p>\n<\/p>\n<p><p>\u6709\u4e00\u4e9b\u7b2c\u4e09\u65b9\u5e93\u4e5f\u63d0\u4f9b\u4e86\u5224\u65ad\u5b57\u7b26\u7c7b\u578b\u7684\u529f\u80fd\u3002\u4f8b\u5982\uff0c<code>pandas<\/code>\u5e93\u4e2d\u7684<code>str.isalpha()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u7528\u6765\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u5b57\u6bcd\u5b57\u7b26\uff0c\u5305\u62ec\u4e2d\u6587\u5b57\u7b26\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import pandas as pd<\/p>\n<p>def is_chinese_char(char):<\/p>\n<p>    return pd.Series([char]).str.isalpha()[0]<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_chars = [&#39;\u4f60&#39;, &#39;\u597d&#39;, &#39;a&#39;, &#39;1&#39;, &#39;\u3002&#39;]<\/p>\n<p>for char in test_chars:<\/p>\n<p>    if is_chinese_char(char):<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u4e0d\u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>is_chinese_char<\/code>\u4f7f\u7528\u4e86<code>pandas<\/code>\u5e93\u4e2d\u7684<code>str.isalpha()<\/code>\u65b9\u6cd5\u6765\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u5b57\u6bcd\u5b57\u7b26\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u591a\u79cd\u65b9\u6cd5\u6765\u63d0\u9ad8\u5224\u65ad\u7684\u51c6\u786e\u6027\u3002\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u5148\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u521d\u6b65\u5224\u65ad\uff0c\u7136\u540e\u518d\u4f7f\u7528Unicode\u8303\u56f4\u68c0\u67e5\u8fdb\u884c\u786e\u8ba4\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_chinese_char(char):<\/p>\n<p>    if re.match(r&#39;[\\u4e00-\\u9fff]&#39;, char):<\/p>\n<p>        return &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fff&#39;<\/p>\n<p>    return False<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_chars = [&#39;\u4f60&#39;, &#39;\u597d&#39;, &#39;a&#39;, &#39;1&#39;, &#39;\u3002&#39;]<\/p>\n<p>for char in test_chars:<\/p>\n<p>    if is_chinese_char(char):<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u4e0d\u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>is_chinese_char<\/code>\u5148\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u521d\u6b65\u5224\u65ad\uff0c\u5982\u679c\u5339\u914d\u6210\u529f\uff0c\u518d\u4f7f\u7528Unicode\u8303\u56f4\u68c0\u67e5\u8fdb\u884c\u786e\u8ba4\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u5904\u7406\u591a\u5b57\u7b26\u5b57\u7b26\u4e32<\/p>\n<\/p>\n<p><p>\u5982\u679c\u8981\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\uff0c\u53ef\u4ee5\u5bf9\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\u8fdb\u884c\u5224\u65ad\u3002\u5177\u4f53\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def has_chinese_char(string):<\/p>\n<p>    return any(re.match(r&#39;[\\u4e00-\\u9fff]&#39;, char) for char in string)<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_strings = [&#39;\u4f60\u597d&#39;, &#39;hello&#39;, &#39;123&#39;, &#39;\u3002&#39;]<\/p>\n<p>for string in test_strings:<\/p>\n<p>    if has_chinese_char(string):<\/p>\n<p>        print(f&quot;&#39;{string}&#39; \u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{string}&#39; \u4e0d\u5305\u542b\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u51fd\u6570<code>has_chinese_char<\/code>\u904d\u5386\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u8fdb\u884c\u5224\u65ad\u3002\u5982\u679c\u4efb\u610f\u4e00\u4e2a\u5b57\u7b26\u662f\u4e2d\u6587\u5b57\u7b26\uff0c\u5219\u8fd4\u56de<code>True<\/code>\u3002<\/p>\n<\/p>\n<p><p>\u516d\u3001\u5176\u4ed6\u5b57\u7b26\u8303\u56f4<\/p>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u6709\u65f6\u8fd8\u9700\u8981\u5224\u65ad\u5176\u4ed6\u8303\u56f4\u7684\u4e2d\u6587\u5b57\u7b26\uff0c\u4f8b\u5982\u6269\u5c55\u7684\u6c49\u5b57\u5b57\u7b26\u3002\u53ef\u4ee5\u901a\u8fc7\u6269\u5c55\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8303\u56f4\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import re<\/p>\n<p>def is_chinese_char(char):<\/p>\n<p>    return re.match(r&#39;[\\u4e00-\\u9fff\\u3400-\\u4dbf\\u20000-\\u2a6df\\u2a700-\\u2b73f\\u2b740-\\u2b81f\\u2b820-\\u2ceaf]&#39;, char) is not None<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>test_chars = [&#39;\u4f60&#39;, &#39;\u597d&#39;, &#39;\ud840\udc00&#39;, &#39;\ud840\udc7d&#39;, &#39;a&#39;, &#39;1&#39;, &#39;\u3002&#39;]<\/p>\n<p>for char in test_chars:<\/p>\n<p>    if is_chinese_char(char):<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p>    else:<\/p>\n<p>        print(f&quot;&#39;{char}&#39; \u4e0d\u662f\u4e2d\u6587\u5b57\u7b26&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6b63\u5219\u8868\u8fbe\u5f0f\u7684\u8303\u56f4\u5305\u62ec\u4e86\u57fa\u672c\u6c49\u5b57\u548c\u6269\u5c55\u6c49\u5b57\u7684Unicode\u8303\u56f4\u3002<\/p>\n<\/p>\n<p><p>\u4ee5\u4e0a\u4ecb\u7ecd\u4e86\u51e0\u79cd\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\u65b9\u6cd5\uff0c\u5305\u62ec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001Unicode\u8303\u56f4\u3001\u7b2c\u4e09\u65b9\u5e93\u7b49\u3002\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u9009\u62e9\u548c\u7ec4\u5408\uff0c\u4ee5\u5b9e\u73b0\u51c6\u786e\u7684\u4e2d\u6587\u5b57\u7b26\u5224\u65ad\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u662f\u5426\u4e3a\u4e2d\u6587\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528Unicode\u8303\u56f4\u6765\u5224\u65ad\u5b57\u7b26\u662f\u5426\u4e3a\u4e2d\u6587\u3002\u4e2d\u6587\u5b57\u7b26\u7684Unicode\u8303\u56f4\u901a\u5e38\u662f<code>\\u4e00<\/code>\u5230<code>\\u9fa5<\/code>\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<code>ord()<\/code>\u51fd\u6570\u7ed3\u5408\u6761\u4ef6\u5224\u65ad\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u6765\u5224\u65ad\uff1a<\/p>\n<pre><code class=\"language-python\">def is_chinese(char):\n    return &#39;\\u4e00&#39; &lt;= char &lt;= &#39;\\u9fa5&#39;\n<\/code><\/pre>\n<p>\u4f7f\u7528\u8fd9\u4e2a\u51fd\u6570\u65f6\uff0c\u53ea\u9700\u4f20\u5165\u4e00\u4e2a\u5b57\u7b26\u5373\u53ef\u8fd4\u56de\u5e03\u5c14\u503c\uff0c\u6307\u793a\u8be5\u5b57\u7b26\u662f\u5426\u4e3a\u4e2d\u6587\u3002<\/p>\n<p><strong>\u662f\u5426\u6709\u73b0\u6210\u7684\u5e93\u53ef\u4ee5\u7528\u6765\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\uff1f<\/strong><br \/>\u662f\u7684\uff0c\u4f7f\u7528<code>re<\/code>\uff08\u6b63\u5219\u8868\u8fbe\u5f0f\uff09\u6a21\u5757\u53ef\u4ee5\u66f4\u65b9\u4fbf\u5730\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u4e2d\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002\u901a\u8fc7\u6b63\u5219\u8868\u8fbe\u5f0f\uff0c\u53ef\u4ee5\u5339\u914d\u6240\u6709\u4e2d\u6587\u5b57\u7b26\uff0c\u6bd4\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">import re\n\ndef cont<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>ns_chinese(text):\n    pattern = re.compile(r&#39;[\\u4e00-\\u9fa5]&#39;)\n    return bool(pattern.search(text))\n<\/code><\/pre>\n<p>\u8fd9\u6837\uff0c\u4f20\u5165\u4e00\u4e2a\u5b57\u7b26\u4e32\u540e\uff0c\u51fd\u6570\u4f1a\u8fd4\u56de\u8be5\u5b57\u7b26\u4e32\u662f\u5426\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n<p><strong>\u5982\u4f55\u5224\u65ad\u4e00\u4e2a\u5b57\u7b26\u4e32\u662f\u5426\u5168\u90e8\u7531\u4e2d\u6587\u5b57\u7b26\u7ec4\u6210\uff1f<\/strong><br \/>\u5982\u679c\u9700\u8981\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u5b8c\u5168\u7531\u4e2d\u6587\u5b57\u7b26\u7ec4\u6210\uff0c\u53ef\u4ee5\u4f7f\u7528<code>all()<\/code>\u51fd\u6570\u7ed3\u5408\u524d\u9762\u7684\u5224\u65ad\u51fd\u6570\u3002\u4f8b\u5982\uff1a<\/p>\n<pre><code class=\"language-python\">def is_all_chinese(text):\n    return all(is_chinese(char) for char in text)\n<\/code><\/pre>\n<p>\u6b64\u51fd\u6570\u4f1a\u68c0\u67e5\u5b57\u7b26\u4e32\u4e2d\u7684\u6bcf\u4e2a\u5b57\u7b26\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u6307\u793a\u5b57\u7b26\u4e32\u662f\u5426\u53ea\u5305\u542b\u4e2d\u6587\u5b57\u7b26\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5224\u65ad\u4e2d\u6587\u5b57\u7b26\u7684\u65b9\u6cd5\u5305\u62ec\u4f7f\u7528\u6b63\u5219\u8868\u8fbe\u5f0f\u3001\u4f7f\u7528Unicode\u8303\u56f4\u3001\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u7b49\u3002 \u5728\u8fd9\u51e0\u79cd\u65b9\u6cd5\u4e2d\uff0c\u6700 [&hellip;]","protected":false},"author":3,"featured_media":1062300,"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\/1062298"}],"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=1062298"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1062298\/revisions"}],"predecessor-version":[{"id":1062309,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1062298\/revisions\/1062309"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1062300"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1062298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1062298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1062298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}