{"id":151352,"date":"2024-05-06T11:20:20","date_gmt":"2024-05-06T03:20:20","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/151352.html"},"modified":"2024-05-06T11:20:27","modified_gmt":"2024-05-06T03:20:27","slug":"%e7%bc%96%e7%a8%8b%e8%af%ad%e8%a8%80%e4%b8%ad%e7%9a%84%e5%87%bd%e6%95%b0%e4%bb%80%e4%b9%88%e6%84%8f%e6%80%9d","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/151352.html","title":{"rendered":"\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u51fd\u6570\u4ec0\u4e48\u610f\u601d"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27145226\/5d797ff9-903f-41b1-906e-279b1b6ccaae.webp\" alt=\"\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u51fd\u6570\u4ec0\u4e48\u610f\u601d\" \/><\/p>\n<p><p>\u51fd\u6570\u5728\u7f16\u7a0b\u8bed\u8a00\u4e2d\u610f\u5473\u7740\u4e00\u6bb5\u53ef\u91cd\u7528\u7684\u4ee3\u7801\u5757\uff0c\u5b83\u8d1f\u8f7d\u5b8c\u6210\u7279\u5b9a\u7684\u4efb\u52a1\uff0c\u53ef\u4ee5\u63a5\u6536\u8f93\u5165\u53c2\u6570\uff0c\u5e76\u53ef\u4ee5\u8fd4\u56de\u7ed3\u679c\u3002<strong>\u51fd\u6570\u63d0\u4f9b\u4e86\u4ee3\u7801\u6a21\u5757\u5316\u3001\u91cd\u7528\u6027\u589e\u5f3a\u3001\u4ee5\u53ca\u903b\u8f91\u4e0a\u7684\u5206\u9694<\/strong>\uff0c\u8fd9\u4e9b\u662f\u7f16\u7a0b\u4e2d\u7684\u6838\u5fc3\u6982\u5ff5\uff0c\u6709\u52a9\u4e8e\u5f00\u53d1\u8005\u521b\u5efa\u6e05\u6670\u3001\u6613\u4e8e\u7ba1\u7406\u548c\u7ef4\u62a4\u7684\u4ee3\u7801\u3002\u4e00\u4e2a\u8be6\u7ec6\u7684\u63cf\u8ff0\u662f\u51fd\u6570\u50cf\u662f\u4e00\u4e2a\u5c0f\u578b\u7684\u201c\u673a\u5668\u201d\uff0c\u4f60\u53ef\u4ee5\u7ed9\u5b83\u4e00\u4e9b\u539f\u6750\u6599\uff08\u53c2\u6570\uff09\uff0c\u5b83\u6309\u7167\u9884\u8bbe\u7684\u6307\u4ee4\u5904\u7406\u8fd9\u4e9b\u539f\u6599\uff0c\u7136\u540e\u7ed9\u51fa\u6210\u54c1\uff08\u8fd4\u56de\u503c\uff09\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u51fd\u6570\u7684\u57fa\u672c\u6982\u5ff5<\/h3>\n<\/p>\n<p><p>\u51fd\u6570\u662f\u7f16\u7a0b\u7684\u57fa\u7840\u3002\u4e00\u4e2a\u51fd\u6570\u4ee3\u8868\u4e86\u4e00\u6bb5\u6267\u884c\u7279\u5b9a\u5de5\u4f5c\u7684\u7a0b\u5e8f\u4ee3\u7801\u3002\u5728\u7f16\u7a0b\u4e2d\uff0c\u6211\u4eec\u7ecf\u5e38\u9700\u8981\u91cd\u590d\u6267\u884c\u67d0\u4e9b\u64cd\u4f5c\u3002\u800c\u51fd\u6570\u8ba9\u6211\u4eec\u80fd\u591f\u5c06\u8fd9\u4e9b\u64cd\u4f5c\u5c01\u88c5\u8d77\u6765\uff0c\u7528\u4e00\u4e2a\u7b80\u5355\u7684\u51fd\u6570\u8c03\u7528\u66ff\u4ee3\u5927\u91cf\u7684\u91cd\u590d\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u51fd\u6570\u7684\u53c2\u6570\u548c\u8fd4\u56de\u503c<\/h3>\n<\/p>\n<p><p>\u5728\u5927\u591a\u6570\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u51fd\u6570\u4e0d\u4ec5\u53ef\u4ee5\u6267\u884c\u4e00\u4e2a\u52a8\u4f5c\uff0c\u8fd8\u53ef\u4ee5\u5904\u7406\u8f93\u5165\u7684\u6570\u636e\uff08\u53c2\u6570\uff09\uff0c\u5e76\u8fd4\u56de\u65b0\u7684\u6570\u636e\uff08\u8fd4\u56de\u503c\uff09\u3002\u8fd9\u8ba9\u51fd\u6570\u53d8\u5f97\u5f02\u5e38\u5f3a\u5927\uff0c\u56e0\u4e3a\u5b83\u4eec\u53ef\u4ee5\u901a\u8fc7\u53c2\u6570\u548c\u8fd4\u56de\u503c\u4e0e\u5176\u4ed6\u7a0b\u5e8f\u4ee3\u7801\u4ea4\u4e92\u3002<\/p>\n<\/p>\n<p><h4>\u53c2\u6570\uff08Parameters\uff09<\/h4>\n<\/p>\n<p><p>\u53c2\u6570\u662f\u4f20\u9012\u7ed9\u51fd\u6570\u7684\u503c\uff0c\u7528\u4e8e\u5f71\u54cd\u51fd\u6570\u7684\u884c\u4e3a\u3002\u901a\u5e38\u60c5\u51b5\u4e0b\uff0c\u51fd\u6570\u7684\u53c2\u6570\u5728\u51fd\u6570\u7684\u5b9a\u4e49\u4e2d\u6307\u5b9a\uff0c\u4f5c\u4e3a\u51fd\u6570\u63a5\u53d7\u7684\u8f93\u5165\uff0c\u51fd\u6570\u5185\u90e8\u7684\u4ee3\u7801\u4f1a\u4f7f\u7528\u8fd9\u4e9b\u53c2\u6570\u8fdb\u884c\u8ba1\u7b97\u6216\u5904\u7406\u3002<\/p>\n<\/p>\n<p><h4>\u8fd4\u56de\u503c\uff08Return Value\uff09<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u53ef\u4ee5\u8fd4\u56de\u4e00\u4e2a\u503c\u7ed9\u8c03\u7528\u8005\u3002\u8fd9\u4e2a\u503c\u88ab\u79f0\u4e3a\u51fd\u6570\u7684\u8fd4\u56de\u503c\u3002\u8fd9\u4e00\u7279\u5f81\u5141\u8bb8\u51fd\u6570\u4ea7\u751f\u8f93\u51fa\uff0c\u5e76\u4e14\u4e0e\u8c03\u7528\u8005\u4ea4\u6362\u6570\u636e\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u51fd\u6570\u7684\u4f5c\u7528\u57df<\/h3>\n<\/p>\n<p><p>\u51fd\u6570\u5185\u5b9a\u4e49\u7684\u53d8\u91cf\u53ea\u5728\u51fd\u6570\u5185\u90e8\u53ef\u89c1\uff0c\u5e76\u4e14\u5177\u6709\u4e00\u5b9a\u7684\u4f5c\u7528\u57df\u3002\u4f5c\u7528\u57df\u662f\u7f16\u7a0b\u4e2d\u7684\u4e00\u4e2a\u91cd\u8981\u6982\u5ff5\uff0c\u5b83\u5b9a\u4e49\u4e86\u53d8\u91cf\u7684\u53ef\u89c1\u6027\u548c\u751f\u547d\u5468\u671f\u3002<\/p>\n<\/p>\n<p><h4>\u5c40\u90e8\u4f5c\u7528\u57df\uff08Local Scope\uff09<\/h4>\n<\/p>\n<p><p>\u5c40\u90e8\u4f5c\u7528\u57df\u6307\u7684\u662f\u5728\u51fd\u6570\u5185\u90e8\u5b9a\u4e49\u7684\u53d8\u91cf\u3002\u8fd9\u4e9b\u53d8\u91cf\u4ec5\u5728\u51fd\u6570\u5185\u90e8\u53ef\u8bbf\u95ee\uff0c\u51fd\u6570\u5916\u90e8\u65e0\u6cd5\u8bbf\u95ee\u8fd9\u4e9b\u5c40\u90e8\u53d8\u91cf\u3002<\/p>\n<\/p>\n<p><h4>\u5168\u5c40\u4f5c\u7528\u57df\uff08Global Scope\uff09<\/h4>\n<\/p>\n<p><p>\u5168\u5c40\u4f5c\u7528\u57df\u6307\u7684\u662f\u5728\u51fd\u6570\u5916\u90e8\u5b9a\u4e49\u7684\u53d8\u91cf\u3002\u8fd9\u4e9b\u53d8\u91cf\u53ef\u4ee5\u5728\u6574\u4e2a\u7a0b\u5e8f\u4e2d\u4efb\u4f55\u4f4d\u7f6e\u8bbf\u95ee\uff0c\u5305\u62ec\u51fd\u6570\u5185\u90e8\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u51fd\u6570\u7684\u58f0\u660e\u548c\u8c03\u7528<\/h3>\n<\/p>\n<p><p>\u51fd\u6570\u5728\u4f7f\u7528\u4e4b\u524d\u5fc5\u987b\u88ab\u58f0\u660e\u3002\u58f0\u660e\u51fd\u6570\u65f6\uff0c\u9700\u8981\u6307\u5b9a\u51fd\u6570\u7684\u540d\u79f0\u3001\u53c2\u6570\u5217\u8868\u548c\u51fd\u6570\u4f53\u3002\u51fd\u6570\u8c03\u7528\u662f\u6267\u884c\u51fd\u6570\u7684\u8fc7\u7a0b\u3002<\/p>\n<\/p>\n<p><h4>\u51fd\u6570\u58f0\u660e\uff08Function Declaration\uff09<\/h4>\n<\/p>\n<p><p>\u51fd\u6570\u58f0\u660e\u5305\u62ec\u51fd\u6570\u7684\u540d\u79f0\u3001\u63a5\u53d7\u7684\u53c2\u6570\u4ee5\u53ca\u5b9a\u4e49\u51fd\u6570\u6240\u9700\u6267\u884c\u7684\u64cd\u4f5c\u3002\u4e0d\u540c\u7684\u7f16\u7a0b\u8bed\u8a00\u6709\u4e0d\u540c\u7684\u51fd\u6570\u58f0\u660e\u8bed\u6cd5\u3002<\/p>\n<\/p>\n<p><h4>\u51fd\u6570\u8c03\u7528\uff08Function Call\uff09<\/h4>\n<\/p>\n<p><p>\u8c03\u7528\u51fd\u6570\u610f\u5473\u7740\u6267\u884c\u8be5\u51fd\u6570\u7684\u4ee3\u7801\u3002\u5728\u51fd\u6570\u8c03\u7528\u65f6\uff0c\u5b9e\u9645\u53c2\u6570\uff08\u8c03\u7528\u65f6\u63d0\u4f9b\u7684\u53c2\u6570\uff09\u4f1a\u4f20\u9012\u7ed9\u51fd\u6570\uff0c\u51fd\u6570\u4f1a\u7528\u8fd9\u4e9b\u53c2\u6570\u6765\u6267\u884c\u5b9a\u4e49\u597d\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u51fd\u6570\u7684\u7c7b\u578b<\/h3>\n<\/p>\n<p><p>\u51fd\u6570\u53ef\u4ee5\u6839\u636e\u5176\u7279\u6027\u548c\u7528\u9014\u88ab\u5206\u4e3a\u4e0d\u540c\u7684\u7c7b\u578b\u3002<\/p>\n<\/p>\n<p><h4>\u5185\u7f6e\u51fd\u6570\uff08Built-in Functions\uff09<\/h4>\n<\/p>\n<p><p>\u5185\u7f6e\u51fd\u6570\u662f\u7f16\u7a0b\u8bed\u8a00\u5185\u7f6e\u7684\u9884\u5b9a\u4e49\u51fd\u6570\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528\u5b83\u4eec\uff0c\u800c\u65e0\u9700\u81ea\u5df1\u5b9a\u4e49\u3002\u4f8b\u5982\uff0c\u8bb8\u591a\u8bed\u8a00\u90fd\u6709\u7528\u4e8e\u6570\u5b66\u8fd0\u7b97\u3001\u5b57\u7b26\u4e32\u5904\u7406\u7684\u5185\u7f6e\u51fd\u6570\u3002<\/p>\n<\/p>\n<p><h4>\u7528\u6237\u5b9a\u4e49\u51fd\u6570\uff08User-defined Functions\uff09<\/h4>\n<\/p>\n<p><p>\u7528\u6237\u5b9a\u4e49\u51fd\u6570\u662f\u7531\u7a0b\u5e8f\u5458\u521b\u5efa\u7684\u7528\u4e8e\u5b8c\u6210\u7279\u5b9a\u4efb\u52a1\u7684\u51fd\u6570\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u6839\u636e\u9700\u8981\u81ea\u7531\u521b\u9020\u51fd\u6570\uff0c\u4f7f\u5f97\u4ee3\u7801\u66f4\u52a0\u6e05\u6670\u548c\u6a21\u5757\u5316\u3002<\/p>\n<\/p>\n<p><h3>\u516d\u3001\u9ad8\u7ea7\u529f\u80fd<\/h3>\n<\/p>\n<p><h4>\u9012\u5f52\uff08Recursion\uff09<\/h4>\n<\/p>\n<p><p>\u9012\u5f52\u51fd\u6570\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u51fd\u6570\uff0c\u5b83\u80fd\u591f\u8c03\u7528\u81ea\u8eab\u3002\u4f7f\u7528\u9012\u5f52\u53ef\u4ee5\u89e3\u51b3\u4e00\u4e9b\u7279\u5b9a\u7684\u95ee\u9898\uff0c\u5982\u641c\u7d22\u548c\u6392\u5e8f\u3002<\/p>\n<\/p>\n<p><h4>\u533f\u540d\u51fd\u6570\uff08Anonymous Functions\uff09<\/h4>\n<\/p>\n<p><p>\u533f\u540d\u51fd\u6570\u53c8\u79f0\u4e3aLambda\u51fd\u6570\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u8005\u5b9a\u4e49\u6ca1\u6709\u540d\u79f0\u7684\u51fd\u6570\u3002\u8fd9\u4e9b\u51fd\u6570\u901a\u5e38\u7528\u4e8e\u4e00\u6b21\u6027\u7684\u5c0f\u4efb\u52a1\u6216\u4f5c\u4e3a\u5176\u4ed6\u51fd\u6570\u7684\u53c2\u6570\u3002<\/p>\n<\/p>\n<p><h4>\u95ed\u5305\uff08Closures\uff09<\/h4>\n<\/p>\n<p><p>\u95ed\u5305\u662f\u4e00\u79cd\u80fd\u591f\u6355\u83b7\u5176\u8bcd\u6cd5\u4f5c\u7528\u57df\u4e2d\u7684\u53d8\u91cf\u7684\u51fd\u6570\u3002\u95ed\u5305\u4f7f\u5f97\u4e00\u4e2a\u51fd\u6570\u53ef\u4ee5\u8bbf\u95ee\u81ea\u8eab\u5b9a\u4e49\u65f6\u6240\u5904\u7684\u4f5c\u7528\u57df\u7684\u53d8\u91cf\uff0c\u5373\u4f7f\u8be5\u51fd\u6570\u5728\u81ea\u8eab\u4f5c\u7528\u57df\u5916\u88ab\u8c03\u7528\u3002<\/p>\n<\/p>\n<p><h4>\u9ad8\u9636\u51fd\u6570\uff08Higher-order Functions\uff09<\/h4>\n<\/p>\n<p><p>\u9ad8\u9636\u51fd\u6570\u662f\u4e00\u79cd\u53ef\u4ee5\u63a5\u6536\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u6216\u8005\u8fd4\u56de\u4e00\u4e2a\u51fd\u6570\u4f5c\u4e3a\u8fd4\u56de\u503c\u7684\u51fd\u6570\u3002\u8fd9\u4e00\u6982\u5ff5\u5728\u51fd\u6570\u5f0f\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7279\u522b\u91cd\u8981\u3002<\/p>\n<\/p>\n<p><p>\u7f16\u5199\u4ee3\u7801\u65f6\u4f7f\u7528\u51fd\u6570\u80fd\u591f\u4f7f\u7a0b\u5e8f\u66f4\u52a0\u7b80\u6d01\u3001\u53ef\u7ef4\u62a4\uff0c\u540c\u65f6\u80fd\u591f\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002\u51fd\u6570\u964d\u4f4e\u4e86\u7f16\u7a0b\u7684\u590d\u6742\u6027\uff0c\u5e76\u6709\u52a9\u4e8e\u907f\u514d\u4ee3\u7801\u91cd\u590d\uff0c\u662f\u6784\u5efa\u5927\u578b\u8f6f\u4ef6\u9879\u76ee\u7684\u57fa\u77f3\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. \u4ec0\u4e48\u662f\u7f16\u7a0b\u8bed\u8a00\u4e2d\u7684\u51fd\u6570\uff1f<\/strong><\/p>\n<p>\u51fd\u6570\u662f\u7f16\u7a0b\u8bed\u8a00\u4e2d\u4e00\u6bb5\u53ef\u91cd\u590d\u4f7f\u7528\u7684\u4ee3\u7801\u5757\uff0c\u7528\u4e8e\u6267\u884c\u7279\u5b9a\u7684\u4efb\u52a1\u6216\u64cd\u4f5c\u3002\u5b83\u4eec\u662f\u5c06\u4ee3\u7801\u6a21\u5757\u5316\u7684\u91cd\u8981\u5de5\u5177\uff0c\u80fd\u591f\u63a5\u53d7\u8f93\u5165\u53c2\u6570\u5e76\u8fd4\u56de\u7ed3\u679c\u3002\u901a\u8fc7\u8c03\u7528\u51fd\u6570\uff0c\u53ef\u4ee5\u907f\u514d\u5728\u7a0b\u5e8f\u4e2d\u91cd\u590d\u7f16\u5199\u76f8\u540c\u7684\u4ee3\u7801\uff0c\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u4ee3\u7801\u91cd\u7528\u6027\u3002<\/p>\n<p><strong>2. \u5728\u7f16\u7a0b\u8bed\u8a00\u4e2d\uff0c\u51fd\u6570\u6709\u54ea\u4e9b\u5e38\u89c1\u7684\u7528\u9014\uff1f<\/strong><\/p>\n<p>\u51fd\u6570\u6709\u5f88\u591a\u5e38\u89c1\u7684\u7528\u9014\u3002\u9996\u5148\uff0c\u901a\u8fc7\u5c06\u76f8\u5173\u7684\u4ee3\u7801\u7247\u6bb5\u7ec4\u7ec7\u5728\u4e00\u8d77\u5e76\u8d4b\u4e88\u51fd\u6570\u540d\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u7ed3\u6784\u5316\u548c\u53ef\u7ef4\u62a4\u6027\u3002\u5176\u6b21\uff0c\u51fd\u6570\u8fd8\u53ef\u4ee5\u63a5\u53d7\u53c2\u6570\uff0c\u4f7f\u5176\u80fd\u591f\u5904\u7406\u4e0d\u540c\u7684\u8f93\u5165\u6570\u636e\uff0c\u5e76\u6839\u636e\u53c2\u6570\u7684\u4e0d\u540c\u8fd4\u56de\u4e0d\u540c\u7684\u7ed3\u679c\u3002\u51fd\u6570\u8fd8\u53ef\u4ee5\u7528\u4e8e\u5c01\u88c5\u590d\u6742\u7684\u64cd\u4f5c\uff0c\u63d0\u4f9b\u66f4\u9ad8\u5c42\u6b21\u7684\u62bd\u8c61\uff0c\u5e76\u7b80\u5316\u4ee3\u7801\u7684\u7f16\u5199\u548c\u7406\u89e3\u3002<\/p>\n<p><strong>3. \u51fd\u6570\u662f\u5982\u4f55\u5de5\u4f5c\u7684\uff1f<\/strong><\/p>\n<p>\u5728\u8c03\u7528\u51fd\u6570\u4e4b\u524d\uff0c\u9700\u8981\u5148\u5b9a\u4e49\u51fd\u6570\u3002\u5b9a\u4e49\u51fd\u6570\u65f6\uff0c\u9700\u8981\u6307\u5b9a\u51fd\u6570\u7684\u540d\u79f0\u3001\u53c2\u6570\u5217\u8868\u548c\u51fd\u6570\u4f53\u3002\u5f53\u8c03\u7528\u51fd\u6570\u65f6\uff0c\u7a0b\u5e8f\u4f1a\u8df3\u8f6c\u5230\u5bf9\u5e94\u7684\u51fd\u6570\u4f53\uff0c\u5e76\u6267\u884c\u5176\u4e2d\u7684\u4ee3\u7801\u3002\u51fd\u6570\u53ef\u4ee5\u63a5\u53d7\u4f20\u5165\u7684\u53c2\u6570\uff0c\u901a\u8fc7\u53c2\u6570\u5bf9\u6570\u636e\u8fdb\u884c\u5904\u7406\uff0c\u5e76\u8fd4\u56de\u4e00\u4e2a\u7ed3\u679c\u503c\u3002\u51fd\u6570\u7684\u6267\u884c\u5b8c\u6bd5\u540e\uff0c\u7a0b\u5e8f\u4f1a\u8fd4\u56de\u5230\u51fd\u6570\u88ab\u8c03\u7528\u7684\u5730\u65b9\uff0c\u5e76\u7ee7\u7eed\u6267\u884c\u4e0b\u9762\u7684\u4ee3\u7801\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u51fd\u6570\u5728\u7f16\u7a0b\u8bed\u8a00\u4e2d\u610f\u5473\u7740\u4e00\u6bb5\u53ef\u91cd\u7528\u7684\u4ee3\u7801\u5757\uff0c\u5b83\u8d1f\u8f7d\u5b8c\u6210\u7279\u5b9a\u7684\u4efb\u52a1\uff0c\u53ef\u4ee5\u63a5\u6536\u8f93\u5165\u53c2\u6570\uff0c\u5e76\u53ef\u4ee5\u8fd4\u56de\u7ed3\u679c\u3002\u51fd\u6570\u63d0\u4f9b\u4e86\u4ee3 [&hellip;]","protected":false},"author":3,"featured_media":151368,"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\/151352"}],"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=151352"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/151352\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/151368"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=151352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=151352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=151352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}