{"id":1168484,"date":"2025-01-15T15:58:43","date_gmt":"2025-01-15T07:58:43","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1168484.html"},"modified":"2025-01-15T15:58:46","modified_gmt":"2025-01-15T07:58:46","slug":"python%e4%b8%ad%e5%a6%82%e4%bd%95%e8%be%93%e5%87%ba%e7%94%9f%e8%82%96","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1168484.html","title":{"rendered":"python\u4e2d\u5982\u4f55\u8f93\u51fa\u751f\u8096"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/26065730\/32065dc5-740a-460a-952c-e3cdaa399d1d.webp\" alt=\"python\u4e2d\u5982\u4f55\u8f93\u51fa\u751f\u8096\" \/><\/p>\n<p><p> \u5728Python\u4e2d\u8f93\u51fa\u751f\u8096\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5e38\u89c1\u7684\u65b9\u5f0f\u5305\u62ec\uff1a<strong>\u5229\u7528\u8ba1\u7b97\u5e74\u4efd\u4e0e\u57fa\u51c6\u5e74\u4efd\u7684\u5dee\u503c\u6765\u786e\u5b9a\u751f\u8096\u3001\u4f7f\u7528\u5b57\u5178\u6765\u6620\u5c04\u5e74\u4efd\u5230\u751f\u8096<\/strong>\u7b49\u3002\u8fd9\u91cc\u6211\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u7b2c\u4e00\u79cd\u65b9\u6cd5\uff0c\u5373\u5229\u7528\u8ba1\u7b97\u5e74\u4efd\u4e0e\u57fa\u51c6\u5e74\u4efd\u7684\u5dee\u503c\u6765\u786e\u5b9a\u751f\u8096\u3002<\/p>\n<\/p>\n<p><h3>\u57fa\u4e8e\u5e74\u4efd\u5dee\u503c\u8ba1\u7b97\u751f\u8096<\/h3>\n<\/p>\n<p><p>\u5728\u4e2d\u56fd\u4f20\u7edf\u6587\u5316\u4e2d\uff0c\u751f\u8096\u662f\u4e00\u4e2a\u5faa\u73af\u7cfb\u7edf\uff0c\u6bcf12\u5e74\u91cd\u590d\u4e00\u6b21\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u5c06\u5e74\u4efd\u51cf\u53bb\u4e00\u4e2a\u57fa\u51c6\u5e74\u4efd\uff0c\u7136\u540e\u53d6\u6a2112\u6765\u786e\u5b9a\u76f8\u5e94\u7684\u751f\u8096\u3002<\/p>\n<\/p>\n<p><p>\u4f8b\u5982\uff0c\u6211\u4eec\u53ef\u4ee5\u4ee51900\u5e74\u4e3a\u57fa\u51c6\u5e74\uff0c\u56e0\u4e3a1900\u5e74\u662f\u9f20\u5e74\u3002\u5047\u8bbe\u6211\u4eec\u8981\u8ba1\u7b972021\u5e74\u7684\u751f\u8096\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd9\u6837\u505a\uff1a<\/p>\n<\/p>\n<p><pre><code>1900\u5e74\u7684\u751f\u8096\u662f\u9f20\u5e74\uff0c2021\u5e74\u7684\u751f\u8096\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97 `(2021 - 1900) % 12` \u5f97\u5230\u5176\u572812\u5e74\u5468\u671f\u4e2d\u7684\u4f4d\u7f6e\uff0c\u63a5\u7740\u901a\u8fc7\u4f4d\u7f6e\u7d22\u5f15\u627e\u5230\u5bf9\u5e94\u7684\u751f\u8096\u3002<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u8be6\u7ec6\u7684Python\u4ee3\u7801\u793a\u4f8b\uff0c\u7528\u4e8e\u8f93\u51fa\u6307\u5b9a\u5e74\u4efd\u7684\u751f\u8096\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_chinese_zodiac(year):<\/p>\n<p>    zodiacs = [&#39;\u9f20&#39;, &#39;\u725b&#39;, &#39;\u864e&#39;, &#39;\u5154&#39;, &#39;\u9f99&#39;, &#39;\u86c7&#39;, &#39;\u9a6c&#39;, &#39;\u7f8a&#39;, &#39;\u7334&#39;, &#39;\u9e21&#39;, &#39;\u72d7&#39;, &#39;\u732a&#39;]<\/p>\n<p>    base_year = 1900<\/p>\n<p>    index = (year - base_year) % 12<\/p>\n<p>    return zodiacs[index]<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>year = 2021<\/p>\n<p>print(f&quot;{year}\u5e74\u7684\u751f\u8096\u662f{get_chinese_zodiac(year)}&quot;)  # \u8f93\u51fa\uff1a2021\u5e74\u7684\u751f\u8096\u662f\u725b<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u751f\u8096\u7684\u5faa\u73af\u539f\u7406<\/h3>\n<\/p>\n<p><p>\u751f\u8096\u662f\u4e2d\u56fd\u4f20\u7edf\u6587\u5316\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u7ec4\u6210\u90e8\u5206\uff0c\u5b83\u662f\u4e00\u4e2a12\u5e74\u4e00\u5faa\u73af\u7684\u7cfb\u7edf\u3002\u6bcf\u4e00\u4e2a\u4eba\u90fd\u6709\u4e00\u4e2a\u5bf9\u5e94\u7684\u751f\u8096\uff0c\u5b83\u4ee3\u8868\u4e86\u4eba\u4eec\u51fa\u751f\u7684\u5e74\u4efd\u3002\u5bf9\u4e8e\u8ba1\u7b97\u751f\u8096\uff0c\u6211\u4eec\u53ea\u9700\u8981\u77e5\u9053\u5e74\u4efd\uff0c\u5229\u7528\u7b80\u5355\u7684\u6570\u5b66\u8ba1\u7b97\u5c31\u80fd\u786e\u5b9a\u5bf9\u5e94\u7684\u751f\u8096\u3002<\/p>\n<\/p>\n<p><h4>\u751f\u8096\u5217\u8868<\/h4>\n<\/p>\n<p><p>\u5728\u4e2d\u56fd\uff0c\u751f\u8096\u7684\u987a\u5e8f\u662f\u56fa\u5b9a\u7684\uff0c\u5177\u4f53\u987a\u5e8f\u5982\u4e0b\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u9f20<\/li>\n<li>\u725b<\/li>\n<li>\u864e<\/li>\n<li>\u5154<\/li>\n<li>\u9f99<\/li>\n<li>\u86c7<\/li>\n<li>\u9a6c<\/li>\n<li>\u7f8a<\/li>\n<li>\u7334<\/li>\n<li>\u9e21<\/li>\n<li>\u72d7<\/li>\n<li>\u732a<\/li>\n<\/ol>\n<p><h4>\u901a\u8fc7\u5e74\u4efd\u8ba1\u7b97\u751f\u8096<\/h4>\n<\/p>\n<p><p>\u5728\u8ba1\u7b97\u751f\u8096\u65f6\uff0c\u6211\u4eec\u901a\u5e38\u4f1a\u9009\u62e9\u4e00\u4e2a\u5df2\u77e5\u7684\u57fa\u51c6\u5e74\u4efd\u3002\u4f8b\u5982\uff0c1900\u5e74\u662f\u9f20\u5e74\u3002\u90a3\u4e48\uff0c\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u6b65\u9aa4\u6765\u8ba1\u7b97\u4efb\u610f\u5e74\u4efd\u7684\u751f\u8096\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u786e\u5b9a\u57fa\u51c6\u5e74\u4efd\u53ca\u5176\u5bf9\u5e94\u7684\u751f\u8096\u3002<\/li>\n<li>\u8ba1\u7b97\u76ee\u6807\u5e74\u4efd\u4e0e\u57fa\u51c6\u5e74\u4efd\u7684\u5dee\u503c\u3002<\/li>\n<li>\u5c06\u5dee\u503c\u5bf912\u53d6\u6a21\uff0c\u5f97\u5230\u4e00\u4e2a0\u523011\u4e4b\u95f4\u7684\u6570\u503c\u3002<\/li>\n<li>\u4f7f\u7528\u8be5\u6570\u503c\u4f5c\u4e3a\u7d22\u5f15\uff0c\u4ece\u751f\u8096\u5217\u8868\u4e2d\u53d6\u51fa\u5bf9\u5e94\u7684\u751f\u8096\u3002<\/li>\n<\/ol>\n<p><h3>\u4ee3\u7801\u793a\u4f8b<\/h3>\n<\/p>\n<p><p>\u4e0b\u9762\u662f\u4e00\u4e2a\u66f4\u8be6\u7ec6\u7684\u4ee3\u7801\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u901a\u8fc7\u5e74\u4efd\u6765\u8ba1\u7b97\u751f\u8096\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_chinese_zodiac(year):<\/p>\n<p>    &quot;&quot;&quot;\u6839\u636e\u5e74\u4efd\u8ba1\u7b97\u751f\u8096&quot;&quot;&quot;<\/p>\n<p>    zodiacs = [&#39;\u9f20&#39;, &#39;\u725b&#39;, &#39;\u864e&#39;, &#39;\u5154&#39;, &#39;\u9f99&#39;, &#39;\u86c7&#39;, &#39;\u9a6c&#39;, &#39;\u7f8a&#39;, &#39;\u7334&#39;, &#39;\u9e21&#39;, &#39;\u72d7&#39;, &#39;\u732a&#39;]<\/p>\n<p>    base_year = 1900  # \u57fa\u51c6\u5e74<\/p>\n<p>    index = (year - base_year) % 12<\/p>\n<p>    return zodiacs[index]<\/p>\n<h2><strong>\u6d4b\u8bd5\u4ee3\u7801<\/strong><\/h2>\n<p>years = [1900, 1984, 2021, 1996, 2000, 2012]<\/p>\n<p>for year in years:<\/p>\n<p>    print(f&quot;{year}\u5e74\u7684\u751f\u8096\u662f{get_chinese_zodiac(year)}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u51fd\u6570<code>get_chinese_zodiac<\/code>\uff0c\u5b83\u63a5\u53d7\u4e00\u4e2a\u5e74\u4efd\u53c2\u6570\uff0c\u5e76\u8fd4\u56de\u5bf9\u5e94\u7684\u751f\u8096\u3002\u6211\u4eec\u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e9b\u6d4b\u8bd5\u5e74\u4efd\uff0c\u6765\u5c55\u793a\u8be5\u51fd\u6570\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u6269\u5c55\u5185\u5bb9<\/h3>\n<\/p>\n<p><p>\u9664\u4e86\u57fa\u672c\u7684\u8ba1\u7b97\u751f\u8096\u7684\u65b9\u6cd5\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u8003\u8651\u4e00\u4e9b\u6269\u5c55\u7684\u5185\u5bb9\u3002\u4f8b\u5982\uff0c\u5c06\u751f\u8096\u4e0e\u5176\u4ed6\u4fe1\u606f\u7ed3\u5408\uff0c\u8f93\u51fa\u66f4\u8be6\u7ec6\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h4>\u6269\u5c55\u751f\u8096\u8ba1\u7b97<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u8fdb\u4e00\u6b65\u6269\u5c55\u751f\u8096\u8ba1\u7b97\uff0c\u52a0\u5165\u4e00\u4e9b\u6709\u8da3\u7684\u529f\u80fd\u3002\u4f8b\u5982\uff0c\u8ba1\u7b97\u67d0\u4e2a\u4eba\u7684\u751f\u8096\uff0c\u5e76\u7ed3\u5408\u4e94\u884c\u516b\u5b57\uff0c\u8f93\u51fa\u66f4\u52a0\u8be6\u7ec6\u7684\u547d\u7406\u5206\u6790\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def get_chinese_zodiac(year):<\/p>\n<p>    &quot;&quot;&quot;\u6839\u636e\u5e74\u4efd\u8ba1\u7b97\u751f\u8096&quot;&quot;&quot;<\/p>\n<p>    zodiacs = [&#39;\u9f20&#39;, &#39;\u725b&#39;, &#39;\u864e&#39;, &#39;\u5154&#39;, &#39;\u9f99&#39;, &#39;\u86c7&#39;, &#39;\u9a6c&#39;, &#39;\u7f8a&#39;, &#39;\u7334&#39;, &#39;\u9e21&#39;, &#39;\u72d7&#39;, &#39;\u732a&#39;]<\/p>\n<p>    base_year = 1900<\/p>\n<p>    index = (year - base_year) % 12<\/p>\n<p>    return zodiacs[index]<\/p>\n<p>def get_element(year):<\/p>\n<p>    &quot;&quot;&quot;\u6839\u636e\u5e74\u4efd\u8ba1\u7b97\u4e94\u884c&quot;&quot;&quot;<\/p>\n<p>    elements = [&#39;\u6728&#39;, &#39;\u706b&#39;, &#39;\u571f&#39;, &#39;\u91d1&#39;, &#39;\u6c34&#39;]<\/p>\n<p>    base_year = 1924  # \u7532\u5b50\u5e74<\/p>\n<p>    index = (year - base_year) % 10 \/\/ 2<\/p>\n<p>    return elements[index]<\/p>\n<h2><strong>\u793a\u4f8b<\/strong><\/h2>\n<p>year = 2021<\/p>\n<p>zodiac = get_chinese_zodiac(year)<\/p>\n<p>element = get_element(year)<\/p>\n<p>print(f&quot;{year}\u5e74\u7684\u751f\u8096\u662f{zodiac}\uff0c\u4e94\u884c\u4e3a{element}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u4f8b\u5b50\u4e2d\uff0c\u6211\u4eec\u589e\u52a0\u4e86\u4e00\u4e2a\u51fd\u6570<code>get_element<\/code>\uff0c\u5b83\u8ba1\u7b97\u4e86\u5e74\u4efd\u5bf9\u5e94\u7684\u4e94\u884c\u5143\u7d20\u3002\u7ed3\u5408\u751f\u8096\u548c\u4e94\u884c\uff0c\u6211\u4eec\u53ef\u4ee5\u5f97\u5230\u66f4\u52a0\u8be6\u7ec6\u7684\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h3>\u5c0f\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u9762\u7684\u4ecb\u7ecd\uff0c\u6211\u4eec\u4e86\u89e3\u4e86\u5982\u4f55\u5728Python\u4e2d\u8f93\u51fa\u751f\u8096\uff0c\u5e76\u6269\u5c55\u4e86\u76f8\u5173\u529f\u80fd\u3002<strong>\u5229\u7528\u8ba1\u7b97\u5e74\u4efd\u4e0e\u57fa\u51c6\u5e74\u4efd\u7684\u5dee\u503c\u6765\u786e\u5b9a\u751f\u8096\u3001\u4f7f\u7528\u5b57\u5178\u6765\u6620\u5c04\u5e74\u4efd\u5230\u751f\u8096<\/strong>\u8fd9\u4e24\u79cd\u65b9\u6cd5\u662f\u5e38\u7528\u7684\u6280\u5de7\u3002\u638c\u63e1\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u7406\u89e3\u4e2d\u56fd\u4f20\u7edf\u6587\u5316\uff0c\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4f8b\u5982\u751f\u65e5\u795d\u798f\u3001\u547d\u7406\u5206\u6790\u7b49\u573a\u666f\u3002<\/p>\n<\/p>\n<p><h3>\u8fdb\u4e00\u6b65\u6269\u5c55<\/h3>\n<\/p>\n<p><p>\u751f\u8096\u4e0e\u4e94\u884c\u53ea\u662f\u4e2d\u56fd\u4f20\u7edf\u6587\u5316\u7684\u4e00\u90e8\u5206\uff0c\u4e86\u89e3\u8fd9\u4e9b\u5185\u5bb9\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u66f4\u597d\u5730\u4f20\u627f\u548c\u53d1\u626c\u4e2d\u534e\u6587\u5316\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u8fd8\u53ef\u4ee5\u8003\u8651\u7ed3\u5408\u5929\u5e72\u5730\u652f\u3001\u516b\u5b57\u547d\u7406\u7b49\u5185\u5bb9\uff0c\u8fdb\u884c\u66f4\u52a0\u6df1\u5165\u7684\u5206\u6790\u548c\u5e94\u7528\u3002\u901a\u8fc7\u4e0d\u65ad\u5b66\u4e60\u548c\u5b9e\u8df5\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Python\u7f16\u7a0b\u4e2d\u5b9e\u73b0\u66f4\u52a0\u4e30\u5bcc\u548c\u6709\u8da3\u7684\u529f\u80fd\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u6839\u636e\u51fa\u751f\u5e74\u4efd\u8ba1\u7b97\u751f\u8096\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u60a8\u53ef\u4ee5\u901a\u8fc7\u8ba1\u7b97\u51fa\u751f\u5e74\u4efd\u4e0e\u751f\u8096\u7684\u5bf9\u5e94\u5173\u7cfb\u6765\u8f93\u51fa\u751f\u8096\u3002\u751f\u8096\u662f12\u5e74\u4e00\u4e2a\u5468\u671f\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u53d6\u6a21\u8fd0\u7b97\u6765\u786e\u5b9a\u751f\u8096\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u5b57\u5178\u6765\u6620\u5c04\u5e74\u4efd\u5230\u751f\u8096\uff0c\u7136\u540e\u901a\u8fc7\u8f93\u5165\u5e74\u4efd\u6765\u67e5\u627e\u5bf9\u5e94\u7684\u751f\u8096\u3002<\/p>\n<p><strong>\u5982\u679c\u6211\u60f3\u8f93\u51fa\u67d0\u4e2a\u7279\u5b9a\u5e74\u4efd\u7684\u751f\u8096\uff0c\u8be5\u600e\u4e48\u505a\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u51fd\u6570\uff0c\u63a5\u53d7\u5e74\u4efd\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u5728\u51fd\u6570\u5185\u90e8\u4f7f\u7528\u53d6\u6a21\u8fd0\u7b97\u6765\u786e\u5b9a\u751f\u8096\u3002\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u7b80\u5355\u7684\u5217\u8868\u6765\u5b58\u50a8\u751f\u8096\u7684\u540d\u79f0\uff0c\u7136\u540e\u6839\u636e\u5e74\u4efd\u8ba1\u7b97\u51fa\u7d22\u5f15\u5e76\u8f93\u51fa\u76f8\u5e94\u7684\u751f\u8096\u3002<\/p>\n<p><strong>Python\u4e2d\u5982\u4f55\u5904\u7406\u7528\u6237\u8f93\u5165\u4ee5\u8f93\u51fa\u751f\u8096\uff1f<\/strong><br \/>\u60a8\u53ef\u4ee5\u4f7f\u7528<code>input()<\/code>\u51fd\u6570\u6765\u83b7\u53d6\u7528\u6237\u7684\u51fa\u751f\u5e74\u4efd\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u6574\u6570\u3002\u63a5\u7740\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u8fd9\u4e2a\u6574\u6570\u4e0e\u751f\u8096\u5217\u8868\u7ed3\u5408\uff0c\u8f93\u51fa\u5bf9\u5e94\u7684\u751f\u8096\u3002\u786e\u4fdd\u5728\u83b7\u53d6\u8f93\u5165\u65f6\u6dfb\u52a0\u9519\u8bef\u5904\u7406\uff0c\u4ee5\u907f\u514d\u7528\u6237\u8f93\u5165\u65e0\u6548\u5e74\u4efd\u5bfc\u81f4\u7a0b\u5e8f\u5d29\u6e83\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u8f93\u51fa\u751f\u8096\u7684\u65b9\u6cd5\u6709\u5f88\u591a\uff0c\u5e38\u89c1\u7684\u65b9\u5f0f\u5305\u62ec\uff1a\u5229\u7528\u8ba1\u7b97\u5e74\u4efd\u4e0e\u57fa\u51c6\u5e74\u4efd\u7684\u5dee\u503c\u6765\u786e\u5b9a\u751f\u8096\u3001\u4f7f\u7528\u5b57\u5178\u6765\u6620\u5c04\u5e74 [&hellip;]","protected":false},"author":3,"featured_media":1168492,"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\/1168484"}],"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=1168484"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1168484\/revisions"}],"predecessor-version":[{"id":1168493,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1168484\/revisions\/1168493"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1168492"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1168484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1168484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1168484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}