{"id":150135,"date":"2024-05-06T10:55:39","date_gmt":"2024-05-06T02:55:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/150135.html"},"modified":"2024-05-06T10:55:44","modified_gmt":"2024-05-06T02:55:44","slug":"python%e7%9a%84%e6%88%96%e6%80%8e%e4%b9%88%e8%a1%a8%e7%a4%ba","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/150135.html","title":{"rendered":"python\u7684\u6216\u600e\u4e48\u8868\u793a"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27143712\/7e9daf75-87ff-4c17-9da3-422b4bc536a3.webp\" alt=\"python\u7684\u6216\u600e\u4e48\u8868\u793a\" \/><\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u6216\u64cd\u4f5c\u901a\u8fc7\u4f7f\u7528\u903b\u8f91\u8fd0\u7b97\u7b26 <code>or<\/code> \u8868\u793a\u3002<strong>\u5f53\u4f60\u9700\u8981\u5728\u4e24\u4e2a\u6216\u591a\u4e2a\u6761\u4ef6\u4e4b\u95f4\u8fdb\u884c\u9009\u62e9\u65f6\uff0c<code>or<\/code> \u8fd0\u7b97\u7b26\u8ba9\u4f60\u80fd\u591f\u6307\u5b9a\u591a\u4e2a\u6761\u4ef6\u4e2d\u53ea\u8981\u6709\u4e00\u4e2a\u4e3a\u771f\uff0c\u5219\u6574\u4f53\u8868\u8fbe\u5f0f\u4e3a\u771f<\/strong>\u3002\u8f83\u4e3a\u5e38\u89c1\u7684\u5e94\u7528\u573a\u666f\u5305\u62ec\u51b3\u7b56\u5236\u5b9a\u3001\u6570\u636e\u9a8c\u8bc1\u3001\u4ee5\u53ca\u5728\u7f16\u5199\u63d0\u4f9b\u591a\u79cd\u53ef\u80fd\u6027\u7684\u4ee3\u7801\u65f6\u4f7f\u7528\u3002<\/p>\n<\/p>\n<p><p>\u7279\u522b\u5730\uff0c<code>or<\/code> \u5728\u5904\u7406\u5e03\u5c14\u64cd\u4f5c\u65f6\u6781\u4e3a\u6709\u6548\u3002\u5b83\u68c0\u67e5\u5176\u5de6\u4fa7\u7684\u8868\u8fbe\u5f0f\u662f\u5426\u4e3a\u771f\uff0c\u5982\u679c\u4e3a\u771f\uff0c\u5219\u6574\u4e2a\u8868\u8fbe\u5f0f\u7684\u7ed3\u679c\u5373\u4e3a\u771f\uff0c\u800c\u4e0d\u518d\u8bc4\u4f30\u53f3\u4fa7\u7684\u8868\u8fbe\u5f0f\u3002\u53ea\u6709\u5f53\u5de6\u4fa7\u7684\u8868\u8fbe\u5f0f\u4e3a\u5047\u65f6\uff0c\u624d\u4f1a\u8bc4\u4f30\u53f3\u4fa7\u7684\u8868\u8fbe\u5f0f\u3002\u8fd9\u79cd\u7279\u6027\u79f0\u4e3a<strong>\u77ed\u8def\u8fd0\u7b97<\/strong>\uff0c\u5b83\u4e0d\u4ec5\u53ef\u4ee5\u4f18\u5316\u4ee3\u7801\u7684\u6267\u884c\u6548\u7387\uff0c\u8fd8\u80fd\u5728\u4e00\u5b9a\u7a0b\u5ea6\u4e0a\u907f\u514d\u6267\u884c\u53ef\u80fd\u5bfc\u81f4\u9519\u8bef\u7684\u8868\u8fbe\u5f0f\u3002<\/p>\n<\/p>\n<p><h2>\u4e00\u3001OR\u8fd0\u7b97\u7b26\u7684\u57fa\u672c\u5e94\u7528<\/h2>\n<\/p>\n<p><h3>Python\u4e2d\u7684\u5e03\u5c14\u903b\u8f91<\/h3>\n<\/p>\n<p><p>\u5728Python\u4e2d\uff0c\u5e03\u5c14\u503cTrue\u548cFalse\u662f\u7528\u6765\u8868\u793a\u903b\u8f91\u72b6\u6001\u7684\u3002<code>or<\/code> \u8fd0\u7b97\u7b26\u5728\u8fd9\u91cc\u626e\u6f14\u7740\u5c06\u591a\u4e2a\u5e03\u5c14\u503c\u5408\u5e76\u4e3a\u4e00\u4e2a\u7684\u89d2\u8272\u3002\u4f8b\u5982\uff0c\u8868\u8fbe\u5f0f<code>True or False<\/code>\u5c06\u8fd4\u56de<code>True<\/code>\uff0c\u56e0\u4e3a\u81f3\u5c11\u6709\u4e00\u4e2a\u6761\u4ef6\uff08\u5373\u5de6\u8fb9\u7684\uff09\u662f\u771f\u7684\u3002<\/p>\n<\/p>\n<p><h3>\u4f7f\u7528OR\u5904\u7406\u591a\u6761\u4ef6<\/h3>\n<\/p>\n<p><p>\u5f53\u4f60\u9700\u8981\u6839\u636e\u591a\u4e2a\u6761\u4ef6\u8fdb\u884c\u5224\u65ad\u65f6\uff0c<code>or<\/code>\u8fd0\u7b97\u7b26\u663e\u5f97\u975e\u5e38\u6709\u7528\u3002\u6bd4\u5982\uff0c\u4e00\u4e2a\u5728\u7ebf\u5546\u5e97\u53ef\u80fd\u9700\u8981\u9a8c\u8bc1\u7528\u6237\u7684\u8f93\u5165\u4fe1\u606f\u662f\u5426\u5408\u7406\uff1a\u7528\u6237\u81f3\u5c11\u9700\u8981\u63d0\u4f9b\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u6216\u8005\u624b\u673a\u53f7\u7801\u3002\u8fd9\u53ef\u4ee5\u7528<code>or<\/code>\u6765\u5b9e\u73b0\uff1a\u5982\u679c\u7535\u5b50\u90ae\u4ef6\u6216\u624b\u673a\u53f7\u7801\u5176\u4e2d\u4e4b\u4e00\u5b58\u5728\uff0c\u8868\u8fbe\u5f0f\u5c31\u4e3a\u771f\u3002<\/p>\n<\/p>\n<p><h2>\u4e8c\u3001OR\u8fd0\u7b97\u7b26\u5728\u51b3\u7b56\u5236\u4f5c\u4e2d\u7684\u5e94\u7528<\/h2>\n<\/p>\n<p><h3>\u7b80\u5316if\u8bed\u53e5<\/h3>\n<\/p>\n<p><p><code>or<\/code>\u8fd0\u7b97\u7b26\u53ef\u4ee5\u5728<code>if<\/code>\u8bed\u53e5\u4e2d\u88ab\u7528\u6765\u7ec4\u5408\u591a\u4e2a\u6761\u4ef6\u5224\u65ad\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u7b80\u6d01\u548c\u6613\u4e8e\u7406\u89e3\u3002\u4f8b\u5982\uff0c\u5982\u679c\u4e00\u4e2a\u7a0b\u5e8f\u9700\u8981\u6267\u884c\u4e00\u4e2a\u64cd\u4f5c\uff0c\u4f46\u8fd9\u4e2a\u64cd\u4f5c\u6709\u4e24\u4e2a\u6216\u66f4\u591a\u7684\u89e6\u53d1\u6761\u4ef6\uff0c\u4f7f\u7528<code>or<\/code>\u53ef\u4ee5\u5c06\u8fd9\u4e9b\u6761\u4ef6\u7d27\u51d1\u5730\u7ed3\u5408\u8d77\u6765\uff0c\u800c\u4e0d\u662f\u5199\u591a\u91cd\u5d4c\u5957\u7684<code>if-else<\/code>\u8bed\u53e5\u3002<\/p>\n<\/p>\n<p><h3>\u52a8\u6001\u6761\u4ef6<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c<code>or<\/code>\u8fd0\u7b97\u7b26\u80fd\u591f\u5904\u7406\u7684\u60c5\u51b5\u8fdc\u4e0d\u4ec5\u4ec5\u5c40\u9650\u4e8e\u9759\u6001\u7684True\u6216False\u3002\u5b9e\u9645\u4e0a\uff0cPython\u4e2d\u7684<code>or<\/code>\u8fd0\u7b97\u7b26\u4f1a\u8fd4\u56de\u5176\u4e24\u8fb9\u4e2d\u7b2c\u4e00\u4e2a\u4e3a\u771f\u7684\u8868\u8fbe\u5f0f\u7684\u503c\u3002\u8fd9\u610f\u5473\u7740\u5982\u679c\u5de6\u4fa7\u7684\u8868\u8fbe\u5f0f\u7684\u7ed3\u679c\u662f\u4e00\u4e2a\u975e\u7a7a\u7684\u5b57\u7b26\u4e32\u6216\u975e\u96f6\u7684\u6570\uff0c\u90a3\u4e48\u5b83\u5c06\u88ab\u89c6\u4e3a\u771f\uff0c<code>or<\/code>\u5c06\u8fd4\u56de\u8fd9\u4e2a\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><h2>\u4e09\u3001OR\u8fd0\u7b97\u7b26\u7684\u5b9e\u7528\u6848\u4f8b<\/h2>\n<\/p>\n<p><h3>\u6570\u636e\u9a8c\u8bc1<\/h3>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u6570\u636e\u9a8c\u8bc1\u65f6\uff0c<code>or<\/code>\u8fd0\u7b97\u7b26\u53ef\u4ee5\u7528\u6765\u786e\u4fdd\u81f3\u5c11\u4e00\u4e2a\u6761\u4ef6\u5f97\u5230\u6ee1\u8db3\u3002\u6bd4\u5982\uff0c\u4e00\u4e2a\u6ce8\u518c\u8868\u5355\u53ef\u80fd\u8981\u6c42\u7528\u6237\u81f3\u5c11\u586b\u5199\u4e00\u4e2a\u8054\u7cfb\u65b9\u5f0f\uff1a\u7535\u8bdd\u53f7\u7801\u6216\u7535\u5b50\u90ae\u4ef6\u3002\u4f7f\u7528<code>or<\/code>\u53ef\u4ee5\u5f88\u5bb9\u6613\u5730\u5b9e\u73b0\u8fd9\u79cd\u903b\u8f91\u3002\u5982\u679c\u7535\u8bdd\u53f7\u7801\u7559\u7a7a\u4f46\u7535\u5b50\u90ae\u4ef6\u88ab\u586b\u5199\uff08\u6216\u53cd\u4e4b\uff09\uff0c\u9a8c\u8bc1\u4ecd\u7136\u53ef\u4ee5\u901a\u8fc7\u3002<\/p>\n<\/p>\n<p><h3>\u903b\u8f91\u7ec4\u5408<\/h3>\n<\/p>\n<p><p>\u5229\u7528<code>or<\/code>\u8fd0\u7b97\u7b26\u53ef\u4ee5\u6267\u884c\u590d\u6742\u7684\u903b\u8f91\u7ec4\u5408\uff0c\u8fd9\u5728\u5904\u7406\u5177\u6709\u591a\u4e2a\u53ef\u80fd\u6027\u7684\u60c5\u51b5\u65f6\u975e\u5e38\u6709\u5e2e\u52a9\u3002\u4f8b\u5982\uff0c\u5728\u4e00\u4e9b\u6761\u4ef6\u641c\u7d22\u529f\u80fd\u4e2d\uff0c\u7528\u6237\u53ef\u80fd\u5e0c\u671b\u641c\u7d22\u7b26\u5408\u591a\u4e2a\u4e0d\u540c\u6761\u4ef6\u7684\u9879\u3002\u901a\u8fc7\u4f7f\u7528<code>or<\/code>\uff0c\u53ef\u4ee5\u7075\u6d3b\u5730\u4e3a\u7528\u6237\u63d0\u4f9b\u5e7f\u6cdb\u7684\u641c\u7d22\u9009\u9879\uff0c\u800c\u4e0d\u662f\u9650\u5236\u4ed6\u4eec\u5728\u5355\u4e00\u7684\u9650\u5236\u6761\u4ef6\u4e0b\u505a\u51b3\u5b9a\u3002<\/p>\n<\/p>\n<p><h2>\u56db\u3001OR\u8fd0\u7b97\u7b26\u7684\u9ad8\u7ea7\u4f7f\u7528\u573a\u666f<\/h2>\n<\/p>\n<p><h3>\u5728\u5217\u8868\u63a8\u5bfc\u5f0f\u4e2d\u4f7f\u7528<\/h3>\n<\/p>\n<p><p><code>or<\/code>\u8fd0\u7b97\u7b26\u8fd8\u53ef\u4ee5\u5728\u5217\u8868\u63a8\u5bfc\u5f0f\u4e2d\u4f7f\u7528\uff0c\u4ee5\u4fbf\u5feb\u901f\u5904\u7406\u548c\u8f6c\u6362\u6570\u636e\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528<code>or<\/code>\u6765\u4e3a\u7f3a\u5931\u6570\u636e\u63d0\u4f9b\u9ed8\u8ba4\u503c\u3002\u8fd9\u5728\u6570\u636e\u6e05\u6d17\u548c\u51c6\u5907\u9636\u6bb5\u5c24\u5176\u6709\u7528\uff0c\u5f53\u6570\u636e\u96c6\u4e2d\u7684\u67d0\u4e9b\u503c\u53ef\u80fd\u4e0d\u5b58\u5728\u65f6\uff0c<code>or<\/code>\u53ef\u4ee5\u786e\u4fdd\u6700\u7ec8\u7684\u5217\u8868\u4fdd\u6301\u4e00\u81f4\u7684\u957f\u5ea6\u548c\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><h3>\u77ed\u8def\u884c\u4e3a\u7684\u5b9e\u9645\u5e94\u7528<\/h3>\n<\/p>\n<p><p><code>or<\/code>\u7684\u77ed\u8def\u884c\u4e3a\u53ef\u4ee5\u88ab\u7528\u4f5c\u7f16\u7801\u6280\u5de7\uff0c\u7528\u4e8e\u5728\u4e0d\u540c\u7684\u6761\u4ef6\u5224\u65ad\u4e2d\u4f18\u5316\u6027\u80fd\u3002\u5728\u4e00\u4e2a\u590d\u6742\u7684\u903b\u8f91\u8868\u8fbe\u5f0f\u4e2d\uff0c\u5de7\u5999\u5730\u5b89\u6392<code>or<\/code>\u7684\u987a\u5e8f\u53ef\u4ee5\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u8ba1\u7b97\uff0c\u7279\u522b\u662f\u5f53\u5176\u4e2d\u7684\u4e00\u4e9b\u8ba1\u7b97\u662f\u8d44\u6e90\u5bc6\u96c6\u578b\u6216\u65f6\u95f4\u5bc6\u96c6\u578b\u7684\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u8ba8\u8bba\uff0c\u6211\u4eec\u4e86\u89e3\u5230<code>or<\/code>\u8fd0\u7b97\u7b26\u4e0d\u4ec5\u662fPython\u4e2d\u5904\u7406\u903b\u8f91\u7684\u57fa\u7840\u5de5\u5177\u4e4b\u4e00\uff0c\u5b83\u7684\u7075\u6d3b\u6027\u548c\u6548\u7387\u66f4\u4f7f\u5b83\u5728\u591a\u79cd\u60c5\u51b5\u4e0b\u6210\u4e3a\u7f16\u7a0b\u8fc7\u7a0b\u4e2d\u4e0d\u53ef\u6216\u7f3a\u7684\u4e00\u90e8\u5206\u3002\u65e0\u8bba\u662f\u5728\u7b80\u5355\u7684\u5e03\u5c14\u903b\u8f91\u8fd0\u7b97\uff0c\u8fd8\u662f\u5728\u590d\u6742\u7684\u6570\u636e\u5904\u7406\u548c\u51b3\u7b56\u5236\u5b9a\u4e2d\uff0c<code>or<\/code>\u90fd\u80fd\u4ee5\u5176\u7b80\u5355\u5374\u5f3a\u5927\u7684\u80fd\u529b\uff0c\u63d0\u4f9b\u4f18\u96c5\u548c\u9ad8\u6548\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u6216\u8fd0\u7b97\u7b26\u8868\u793a\u6761\u4ef6\u9009\u62e9\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\uff0c\u6216\u8fd0\u7b97\u7b26\u53ef\u4ee5\u4f7f\u7528&quot;or&quot;\u6765\u8868\u793a\u3002\u5b83\u7528\u4e8e\u5728\u6761\u4ef6\u5224\u65ad\u8bed\u53e5\u4e2d\u9009\u62e9\u591a\u4e2a\u6761\u4ef6\u4e2d\u7684\u81f3\u5c11\u4e00\u4e2a\u4e3a\u771f\u7684\u60c5\u51b5\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u5f0f\u6765\u5b9e\u73b0\u6216\u8fd0\u7b97\u7b26\uff1a<\/p>\n<pre><code class=\"language-python\">if condition1 or condition2 or condition3:\n    # \u6761\u4ef6\u8bed\u53e5\u4e3a\u771f\u7684\u4ee3\u7801\u5757\nelse:\n    # \u6761\u4ef6\u8bed\u53e5\u4e3a\u5047\u7684\u4ee3\u7801\u5757\n<\/code><\/pre>\n<p>\u6ce8\u610f\uff0c\u5f53\u4f7f\u7528\u6216\u8fd0\u7b97\u7b26\u65f6\uff0c\u53ea\u6709\u5728\u6240\u6709\u6761\u4ef6\u90fd\u4e3a\u5047\u65f6\uff0c\u6574\u4e2a\u6761\u4ef6\u5224\u65ad\u624d\u4f1a\u88ab\u8ba4\u5b9a\u4e3a\u5047\u3002<\/p>\n<p><strong>2. \u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528&quot;|&quot;\u8868\u793a\u903b\u8f91\u6216\u8fd0\u7b97\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528&quot;|&quot;\u7b26\u53f7\u6765\u8868\u793a\u903b\u8f91\u6216\u8fd0\u7b97\u3002\u903b\u8f91\u6216\u8fd0\u7b97\u5728\u4f4d\u8fd0\u7b97\u4e2d\u4e5f\u6709\u4f7f\u7528\uff0c\u4f46\u5728\u6b64\u6211\u4eec\u8ba8\u8bba\u7684\u662f\u5b83\u5728\u903b\u8f91\u5224\u65ad\u4e2d\u7684\u5e94\u7528\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u65b9\u5f0f\u6765\u5b9e\u73b0\u903b\u8f91\u6216\u8fd0\u7b97\uff1a<\/p>\n<pre><code class=\"language-python\">result = condition1 | condition2 | condition3\n<\/code><\/pre>\n<p>\u8fd9\u5c06\u8fd4\u56de\u4e00\u4e2a\u5e03\u5c14\u503c\uff0c\u8868\u793a\u6761\u4ef61\u3001\u6761\u4ef62\u548c\u6761\u4ef63\u4e2d\u81f3\u5c11\u6709\u4e00\u4e2a\u4e3a\u771f\u3002<\/p>\n<p><strong>3. \u5728Python\u4e2d\uff0c\u5982\u4f55\u4f7f\u7528if\u8bed\u53e5\u5b9e\u73b0\u591a\u4e2a\u6761\u4ef6\u7684\u9009\u62e9\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\u4f7f\u7528if\u8bed\u53e5\u53ef\u4ee5\u5b9e\u73b0\u591a\u4e2a\u6761\u4ef6\u7684\u9009\u62e9\uff0c\u4ece\u800c\u8fbe\u5230\u4f7f\u7528\u6216\u8fd0\u7b97\u7b26\u7684\u6548\u679c\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u65b9\u5f0f\u7f16\u5199\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">if condition1:\n    # \u6761\u4ef61\u4e3a\u771f\u7684\u4ee3\u7801\u5757\nelif condition2:\n    # \u6761\u4ef62\u4e3a\u771f\u7684\u4ee3\u7801\u5757\nelif condition3:\n    # \u6761\u4ef63\u4e3a\u771f\u7684\u4ee3\u7801\u5757\nelse:\n    # \u6240\u6709\u6761\u4ef6\u90fd\u4e3a\u5047\u7684\u4ee3\u7801\u5757\n<\/code><\/pre>\n<p>\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u7cfb\u7edf\u4f1a\u987a\u5e8f\u5224\u65ad\u6bcf\u4e2a\u6761\u4ef6\u662f\u5426\u4e3a\u771f\uff0c\u4e00\u65e6\u9047\u5230\u6ee1\u8db3\u6761\u4ef6\u7684\u4ee3\u7801\u5757\uff0c\u5c31\u4f1a\u6267\u884c\u76f8\u5e94\u7684\u4ee3\u7801\u5e76\u8df3\u8fc7\u540e\u7eed\u6761\u4ef6\u7684\u5224\u65ad\u3002\u5982\u679c\u6ca1\u6709\u4efb\u4f55\u4e00\u4e2a\u6761\u4ef6\u4e3a\u771f\uff0c\u90a3\u4e48\u5c06\u6267\u884celse\u5757\u4e2d\u7684\u4ee3\u7801\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u6216\u64cd\u4f5c\u901a\u8fc7\u4f7f\u7528\u903b\u8f91\u8fd0\u7b97\u7b26 or \u8868\u793a\u3002\u5f53\u4f60\u9700\u8981\u5728\u4e24\u4e2a\u6216\u591a\u4e2a\u6761\u4ef6\u4e4b\u95f4\u8fdb\u884c\u9009\u62e9\u65f6\uff0cor \u8fd0\u7b97\u7b26\u8ba9 [&hellip;]","protected":false},"author":3,"featured_media":150146,"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\/150135"}],"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=150135"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/150135\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/150146"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=150135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=150135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=150135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}