{"id":1106875,"date":"2025-01-08T16:44:23","date_gmt":"2025-01-08T08:44:23","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1106875.html"},"modified":"2025-01-08T16:44:26","modified_gmt":"2025-01-08T08:44:26","slug":"python%e5%a6%82%e4%bd%95%e9%99%8d%e6%95%b0%e5%ad%97%e6%9b%bf%e6%8d%a2%e6%88%90%e6%96%87%e5%ad%97","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1106875.html","title":{"rendered":"python\u5982\u4f55\u964d\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071137\/2a742a6a-d0e8-4340-b849-a06335b302a2.webp\" alt=\"python\u5982\u4f55\u964d\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57\" \/><\/p>\n<p><p> <strong>Python\u5982\u4f55\u5c06\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57<\/strong><\/p>\n<\/p>\n<p><p><strong>\u5728Python\u4e2d\u5c06\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57\u7684\u65b9\u5f0f\u4e3b\u8981\u5305\u62ec\uff1a\u6570\u5b57\u4e0e\u6587\u5b57\u7684\u6620\u5c04\u3001\u4f7f\u7528\u5185\u7f6e\u7684\u6587\u672c\u8f6c\u6362\u5e93\u3001\u7f16\u5199\u81ea\u5b9a\u4e49\u51fd\u6570\u3001\u4f7f\u7528\u5916\u90e8API\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u8bf4\u660e\u5176\u4e2d\u7684\u5e38\u7528\u65b9\u6cd5\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u6570\u5b57\u4e0e\u6587\u5b57\u7684\u6620\u5c04<\/p>\n<\/p>\n<p><p>\u6570\u5b57\u4e0e\u6587\u5b57\u7684\u6620\u5c04\u65b9\u6cd5\u662f\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\uff0c\u5b57\u5178\u7684\u952e\u4e3a\u6570\u5b57\uff0c\u503c\u4e3a\u5bf9\u5e94\u7684\u6587\u5b57\u3002\u7136\u540e\u901a\u8fc7\u67e5\u627e\u5b57\u5178\u5b9e\u73b0\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def number_to_words(num):<\/p>\n<p>    num_to_words_dict = {<\/p>\n<p>        0: &#39;zero&#39;, 1: &#39;one&#39;, 2: &#39;two&#39;, 3: &#39;three&#39;, 4: &#39;four&#39;, 5: &#39;five&#39;,<\/p>\n<p>        6: &#39;six&#39;, 7: &#39;seven&#39;, 8: &#39;eight&#39;, 9: &#39;nine&#39;, 10: &#39;ten&#39;,<\/p>\n<p>        11: &#39;eleven&#39;, 12: &#39;twelve&#39;, 13: &#39;thirteen&#39;, 14: &#39;fourteen&#39;, 15: &#39;fifteen&#39;,<\/p>\n<p>        16: &#39;sixteen&#39;, 17: &#39;seventeen&#39;, 18: &#39;eighteen&#39;, 19: &#39;nineteen&#39;, 20: &#39;twenty&#39;,<\/p>\n<p>        30: &#39;thirty&#39;, 40: &#39;forty&#39;, 50: &#39;fifty&#39;, 60: &#39;sixty&#39;, 70: &#39;seventy&#39;,<\/p>\n<p>        80: &#39;eighty&#39;, 90: &#39;ninety&#39;<\/p>\n<p>    }<\/p>\n<p>    if num in num_to_words_dict:<\/p>\n<p>        return num_to_words_dict[num]<\/p>\n<p>    elif num &lt; 100:<\/p>\n<p>        return num_to_words_dict[num \/\/ 10 * 10] + &#39;-&#39; + num_to_words_dict[num % 10]<\/p>\n<p>    elif num &lt; 1000:<\/p>\n<p>        return num_to_words_dict[num \/\/ 100] + &#39; hundred&#39; + (&#39; and &#39; + number_to_words(num % 100) if num % 100 != 0 else &#39;&#39;)<\/p>\n<p>    else:<\/p>\n<p>        return &#39;Number out of range&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u6b64\u65b9\u6cd5\u7b80\u5355\u6613\u884c\uff0c\u9002\u7528\u4e8e\u5904\u7406\u56fa\u5b9a\u8303\u56f4\u5185\u7684\u6570\u5b57\u8f6c\u6362\u3002<\/strong>\u4f46\u662f\u5bf9\u4e8e\u8f83\u5927\u8303\u56f4\u7684\u6570\u5b57\u6216\u9700\u8981\u5904\u7406\u590d\u6742\u6570\u5b57\u683c\u5f0f\uff08\u5982\u5c0f\u6570\u3001\u8d1f\u6570\u7b49\uff09\u7684\u60c5\u51b5\uff0c\u5219\u9700\u8981\u66f4\u52a0\u590d\u6742\u7684\u5904\u7406\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u4f7f\u7528\u5185\u7f6e\u7684\u6587\u672c\u8f6c\u6362\u5e93<\/p>\n<\/p>\n<p><p>Python\u4e2d\u6709\u4e00\u4e9b\u5185\u7f6e\u5e93\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u8fdb\u884c\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\uff0c\u6700\u5e38\u7528\u7684\u662f<code>inflect<\/code>\u5e93\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import inflect<\/p>\n<p>def number_to_words_inflect(num):<\/p>\n<p>    p = inflect.engine()<\/p>\n<p>    return p.number_to_words(num)<\/p>\n<p>number = 123<\/p>\n<p>print(number_to_words_inflect(number))  # \u8f93\u51fa\uff1aone hundred and twenty-three<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong><code>inflect<\/code>\u5e93\u529f\u80fd\u5f3a\u5927\uff0c\u80fd\u591f\u5904\u7406\u66f4\u590d\u6742\u7684\u6570\u5b57\u8f6c\u6362\u9700\u6c42\u3002<\/strong>\u4f8b\u5982\uff0c\u5904\u7406\u5c0f\u6570\u3001\u8d1f\u6570\u3001\u590d\u6570\u7b49\u60c5\u51b5\uff0c\u5e76\u4e14\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u7f16\u5199\u81ea\u5b9a\u4e49\u51fd\u6570<\/p>\n<\/p>\n<p><p>\u5982\u679c\u9700\u8981\u66f4\u9ad8\u7684\u7075\u6d3b\u6027\u548c\u63a7\u5236\u6743\uff0c\u53ef\u4ee5\u9009\u62e9\u7f16\u5199\u81ea\u5b9a\u4e49\u51fd\u6570\u6765\u5904\u7406\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u3002\u4f8b\u5982\uff0c\u5904\u7406\u4e2d\u6587\u6570\u5b57\u8f6c\u6362\u7684\u9700\u6c42\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def number_to_chinese(num):<\/p>\n<p>    units = [&quot;&quot;, &quot;\u5341&quot;, &quot;\u767e&quot;, &quot;\u5343&quot;, &quot;\u4e07&quot;, &quot;\u4ebf&quot;]<\/p>\n<p>    digits = [&quot;\u96f6&quot;, &quot;\u4e00&quot;, &quot;\u4e8c&quot;, &quot;\u4e09&quot;, &quot;\u56db&quot;, &quot;\u4e94&quot;, &quot;\u516d&quot;, &quot;\u4e03&quot;, &quot;\u516b&quot;, &quot;\u4e5d&quot;]<\/p>\n<p>    def four_digit_to_chinese(n):<\/p>\n<p>        result = &quot;&quot;<\/p>\n<p>        for i, d in enumerate(reversed(str(n))):<\/p>\n<p>            if d != &#39;0&#39;:<\/p>\n<p>                result = digits[int(d)] + units[i] + result<\/p>\n<p>            elif result and result[0] != &#39;\u96f6&#39;:<\/p>\n<p>                result = &#39;\u96f6&#39; + result<\/p>\n<p>        return result.rstrip(&#39;\u96f6&#39;)<\/p>\n<p>    if num == 0:<\/p>\n<p>        return digits[0]<\/p>\n<p>    parts = []<\/p>\n<p>    while num:<\/p>\n<p>        parts.append(four_digit_to_chinese(num % 10000))<\/p>\n<p>        num \/\/= 10000<\/p>\n<p>    return &#39;&#39;.join(part + (units[len(parts) - 1 - i] if part else &#39;&#39;) for i, part in enumerate(reversed(parts)))<\/p>\n<p>number = 123456<\/p>\n<p>print(number_to_chinese(number))  # \u8f93\u51fa\uff1a\u5341\u4e8c\u4e07\u4e09\u5343\u56db\u767e\u4e94\u5341\u516d<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8fd9\u79cd\u65b9\u6cd5\u9002\u7528\u4e8e\u9700\u8981\u5904\u7406\u7279\u5b9a\u8bed\u8a00\u6216\u683c\u5f0f\u7684\u6570\u5b57\u8f6c\u6362\u3002<\/strong>\u901a\u8fc7\u7f16\u5199\u81ea\u5b9a\u4e49\u51fd\u6570\uff0c\u53ef\u4ee5\u6839\u636e\u5b9e\u9645\u9700\u6c42\u7075\u6d3b\u8c03\u6574\u8f6c\u6362\u903b\u8f91\u3002<\/p>\n<\/p>\n<p><p>\u56db\u3001\u4f7f\u7528\u5916\u90e8API<\/p>\n<\/p>\n<p><p>\u6709\u4e9b\u65f6\u5019\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u5916\u90e8API\u6765\u5b9e\u73b0\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u3002\u4f8b\u5982\uff0c\u8c03\u7528Google Translate API\u6216\u5176\u4ed6\u7b2c\u4e09\u65b9API\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import requests<\/p>\n<p>def number_to_words_api(num):<\/p>\n<p>    url = &quot;https:\/\/api.example.com\/number_to_words&quot;<\/p>\n<p>    params = {&quot;number&quot;: num}<\/p>\n<p>    response = requests.get(url, params=params)<\/p>\n<p>    if response.status_code == 200:<\/p>\n<p>        return response.json().get(&quot;words&quot;)<\/p>\n<p>    else:<\/p>\n<p>        return &quot;Error: Unable to convert number to words&quot;<\/p>\n<p>number = 456<\/p>\n<p>print(number_to_words_api(number))  # \u5047\u8bbeAPI\u8fd4\u56de\uff1afour hundred and fifty-six<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u4f7f\u7528\u5916\u90e8API\u7684\u4f18\u70b9\u662f\u53ef\u4ee5\u5229\u7528\u73b0\u6709\u7684\u8f6c\u6362\u670d\u52a1\uff0c\u51cf\u5c11\u5f00\u53d1\u5de5\u4f5c\u91cf\u3002<\/strong>\u7f3a\u70b9\u662f\u9700\u8981\u4f9d\u8d56\u5916\u90e8\u670d\u52a1\uff0c\u53ef\u80fd\u5b58\u5728\u7f51\u7edc\u5ef6\u8fdf\u3001API\u8c03\u7528\u9650\u5236\u7b49\u95ee\u9898\u3002<\/p>\n<\/p>\n<p><p>\u4e94\u3001\u7efc\u5408\u5e94\u7528\u4e0e\u793a\u4f8b<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u53ef\u80fd\u9700\u8981\u7efc\u5408\u4f7f\u7528\u4e0a\u8ff0\u591a\u79cd\u65b9\u6cd5\u6765\u6ee1\u8db3\u4e0d\u540c\u7684\u9700\u6c42\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7efc\u5408\u793a\u4f8b\uff0c\u5c55\u793a\u5982\u4f55\u5904\u7406\u591a\u79cd\u7c7b\u578b\u7684\u6570\u5b57\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import inflect<\/p>\n<p>import requests<\/p>\n<p>def number_to_words(num):<\/p>\n<p>    if isinstance(num, int) and num &gt;= 0:<\/p>\n<p>        if num &lt; 1000:<\/p>\n<p>            return number_to_words_dict(num)<\/p>\n<p>        else:<\/p>\n<p>            return number_to_words_inflect(num)<\/p>\n<p>    elif isinstance(num, float):<\/p>\n<p>        integer_part, decimal_part = str(num).split(&#39;.&#39;)<\/p>\n<p>        return number_to_words(int(integer_part)) + &#39; point &#39; + &#39; &#39;.join(number_to_words(int(d)) for d in decimal_part)<\/p>\n<p>    else:<\/p>\n<p>        return number_to_words_api(num)<\/p>\n<p>def number_to_words_dict(num):<\/p>\n<p>    num_to_words_dict = {<\/p>\n<p>        0: &#39;zero&#39;, 1: &#39;one&#39;, 2: &#39;two&#39;, 3: &#39;three&#39;, 4: &#39;four&#39;, 5: &#39;five&#39;,<\/p>\n<p>        6: &#39;six&#39;, 7: &#39;seven&#39;, 8: &#39;eight&#39;, 9: &#39;nine&#39;, 10: &#39;ten&#39;,<\/p>\n<p>        11: &#39;eleven&#39;, 12: &#39;twelve&#39;, 13: &#39;thirteen&#39;, 14: &#39;fourteen&#39;, 15: &#39;fifteen&#39;,<\/p>\n<p>        16: &#39;sixteen&#39;, 17: &#39;seventeen&#39;, 18: &#39;eighteen&#39;, 19: &#39;nineteen&#39;, 20: &#39;twenty&#39;,<\/p>\n<p>        30: &#39;thirty&#39;, 40: &#39;forty&#39;, 50: &#39;fifty&#39;, 60: &#39;sixty&#39;, 70: &#39;seventy&#39;,<\/p>\n<p>        80: &#39;eighty&#39;, 90: &#39;ninety&#39;<\/p>\n<p>    }<\/p>\n<p>    if num in num_to_words_dict:<\/p>\n<p>        return num_to_words_dict[num]<\/p>\n<p>    elif num &lt; 100:<\/p>\n<p>        return num_to_words_dict[num \/\/ 10 * 10] + &#39;-&#39; + num_to_words_dict[num % 10]<\/p>\n<p>    elif num &lt; 1000:<\/p>\n<p>        return num_to_words_dict[num \/\/ 100] + &#39; hundred&#39; + (&#39; and &#39; + number_to_words(num % 100) if num % 100 != 0 else &#39;&#39;)<\/p>\n<p>    else:<\/p>\n<p>        return &#39;Number out of range&#39;<\/p>\n<p>def number_to_words_inflect(num):<\/p>\n<p>    p = inflect.engine()<\/p>\n<p>    return p.number_to_words(num)<\/p>\n<p>def number_to_words_api(num):<\/p>\n<p>    url = &quot;https:\/\/api.example.com\/number_to_words&quot;<\/p>\n<p>    params = {&quot;number&quot;: num}<\/p>\n<p>    response = requests.get(url, params=params)<\/p>\n<p>    if response.status_code == 200:<\/p>\n<p>        return response.json().get(&quot;words&quot;)<\/p>\n<p>    else:<\/p>\n<p>        return &quot;Error: Unable to convert number to words&quot;<\/p>\n<h2><strong>\u6d4b\u8bd5<\/strong><\/h2>\n<p>print(number_to_words(123))  # \u8f93\u51fa\uff1aone hundred and twenty-three<\/p>\n<p>print(number_to_words(456.78))  # \u8f93\u51fa\uff1afour hundred and fifty-six point seven eight<\/p>\n<p>print(number_to_words(999999))  # \u5047\u8bbeAPI\u8fd4\u56de\uff1anine hundred and ninety-nine thousand nine hundred and ninety-nine<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u603b\u7ed3\uff1a<\/strong><\/p>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5c06\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57\u7684\u65b9\u6cd5\u591a\u79cd\u591a\u6837\uff0c\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u9009\u62e9\u5408\u9002\u7684\u65b9\u6cd5\u3002<strong>\u5bf9\u4e8e\u7b80\u5355\u7684\u6570\u5b57\u8f6c\u6362\uff0c\u53ef\u4ee5\u4f7f\u7528\u5b57\u5178\u6620\u5c04\uff1b\u5bf9\u4e8e\u590d\u6742\u7684\u8f6c\u6362\u9700\u6c42\uff0c\u53ef\u4ee5\u4f7f\u7528\u5185\u7f6e\u5e93\u5982<code>inflect<\/code>\uff1b\u5bf9\u4e8e\u7279\u5b9a\u8bed\u8a00\u548c\u683c\u5f0f\uff0c\u53ef\u4ee5\u7f16\u5199\u81ea\u5b9a\u4e49\u51fd\u6570\uff1b\u5bf9\u4e8e\u4f9d\u8d56\u5916\u90e8\u670d\u52a1\u7684\u60c5\u51b5\uff0c\u53ef\u4ee5\u4f7f\u7528\u5916\u90e8API\u3002<\/strong>\u901a\u8fc7\u5408\u7406\u7ec4\u5408\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u7075\u6d3b\u3001\u9ad8\u6548\u7684\u6570\u5b57\u5230\u6587\u5b57\u8f6c\u6362\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u6587\u5b57\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528\u591a\u79cd\u65b9\u6cd5\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u6587\u5b57\u3002\u6700\u5e38\u89c1\u7684\u65b9\u6cd5\u662f\u4f7f\u7528\u73b0\u6210\u7684\u5e93\uff0c\u4f8b\u5982<code>inflect<\/code>\u5e93\uff0c\u5b83\u53ef\u4ee5\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u5176\u76f8\u5e94\u7684\u82f1\u6587\u6587\u5b57\u3002\u5b89\u88c5\u6b64\u5e93\u540e\uff0c\u53ef\u4ee5\u4f7f\u7528<code>inflect.engine()<\/code>\u521b\u5efa\u4e00\u4e2a\u5f15\u64ce\u5b9e\u4f8b\uff0c\u5e76\u901a\u8fc7\u8c03\u7528<code>number_to_words()<\/code>\u65b9\u6cd5\u5c06\u6570\u5b57\u8f6c\u6362\u4e3a\u6587\u5b57\u3002\u4f8b\u5982\uff0c<code>inflect.engine().number_to_words(123)<\/code>\u5c06\u8fd4\u56de\u201cone hundred and twenty-three\u201d\u3002<\/p>\n<p><strong>Python\u4e2d\u6709\u54ea\u4e9b\u5e93\u53ef\u4ee5\u7528\u4e8e\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\uff1f<\/strong><br \/>\u9664\u4e86<code>inflect<\/code>\u5e93\u4e4b\u5916\uff0c\u8fd8\u6709\u5176\u4ed6\u4e00\u4e9b\u5e93\u53ef\u4ee5\u5b9e\u73b0\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u3002\u4f8b\u5982\uff0c<code>num2words<\/code>\u5e93\u4e5f\u975e\u5e38\u6d41\u884c\uff0c\u652f\u6301\u591a\u79cd\u8bed\u8a00\u7684\u6570\u5b57\u8f6c\u6362\u3002\u4f7f\u7528\u65b9\u5f0f\u7c7b\u4f3c\uff0c\u53ea\u9700\u5b89\u88c5\u5e93\u5e76\u8c03\u7528<code>num2words()<\/code>\u51fd\u6570\uff0c\u8f93\u5165\u6570\u5b57\u5373\u53ef\u83b7\u53d6\u76f8\u5e94\u7684\u6587\u5b57\u8868\u793a\u3002\u5bf9\u4e8e\u5904\u7406\u5927\u6570\u5b57\u6216\u7279\u5b9a\u683c\u5f0f\u7684\u9700\u6c42\uff0c\u8fd9\u4e9b\u5e93\u63d0\u4f9b\u4e86\u5f88\u597d\u7684\u652f\u6301\u3002<\/p>\n<p><strong>\u6211\u53ef\u4ee5\u81ea\u5b9a\u4e49\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u903b\u8f91\u5417\uff1f<\/strong><br \/>\u5f53\u7136\u53ef\u4ee5\uff01\u5982\u679c\u73b0\u6709\u5e93\u4e0d\u6ee1\u8db3\u60a8\u7684\u9700\u6c42\uff0c\u60a8\u53ef\u4ee5\u7f16\u5199\u81ea\u5df1\u7684\u51fd\u6570\u6765\u5b9e\u73b0\u6570\u5b57\u5230\u6587\u5b57\u7684\u8f6c\u6362\u3002\u8fd9\u901a\u5e38\u6d89\u53ca\u5230\u5c06\u6570\u5b57\u5206\u89e3\u6210\u5404\u4e2a\u90e8\u5206\uff08\u5982\u5343\u4f4d\u3001\u767e\u4f4d\u7b49\uff09\uff0c\u5e76\u6839\u636e\u7279\u5b9a\u89c4\u5219\u751f\u6210\u76f8\u5e94\u7684\u6587\u5b57\u3002\u8fd9\u79cd\u65b9\u6cd5\u867d\u7136\u9700\u8981\u66f4\u591a\u7684\u65f6\u95f4\u548c\u7cbe\u529b\uff0c\u4f46\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u9700\u6c42\u8fdb\u884c\u9ad8\u5ea6\u5b9a\u5236\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u5982\u4f55\u5c06\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57 \u5728Python\u4e2d\u5c06\u6570\u5b57\u66ff\u6362\u6210\u6587\u5b57\u7684\u65b9\u5f0f\u4e3b\u8981\u5305\u62ec\uff1a\u6570\u5b57\u4e0e\u6587\u5b57\u7684\u6620\u5c04\u3001\u4f7f\u7528\u5185\u7f6e\u7684 [&hellip;]","protected":false},"author":3,"featured_media":1106889,"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\/1106875"}],"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=1106875"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106875\/revisions"}],"predecessor-version":[{"id":1106891,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106875\/revisions\/1106891"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1106889"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1106875"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1106875"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1106875"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}