{"id":184182,"date":"2024-05-08T22:02:27","date_gmt":"2024-05-08T14:02:27","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/184182.html"},"modified":"2024-05-08T22:02:33","modified_gmt":"2024-05-08T14:02:33","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8go%e8%af%ad%e8%a8%80%e6%9d%a5%e8%bf%90%e8%a1%8cphp-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/184182.html","title":{"rendered":"\u5982\u4f55\u4f7f\u7528go\u8bed\u8a00\u6765\u8fd0\u884cPHP"},"content":{"rendered":"<p style=\"text-align:center\"><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/27075132\/83da561f-886a-4534-8f92-d73a025a5693.webp\" alt=\"\u5982\u4f55\u4f7f\u7528go\u8bed\u8a00\u6765\u8fd0\u884cPHP\" \/><\/p>\n<p><p><strong>Go\u8bed\u8a00\u901a\u8fc7\u8c03\u7528CGO\u6216\u6267\u884c\u5b50\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6765\u8fd0\u884cPHP<\/strong>\u3002\u9996\u5148\uff0cCGO\u53ef\u4ee5\u7528\u4e8e\u5728Go\u4ee3\u7801\u4e2d\u76f4\u63a5\u8c03\u7528C\u8bed\u8a00\u4ee3\u7801\uff0c\u56e0\u4e3aPHP\u7684\u6838\u5fc3\u662f\u7528C\u8bed\u8a00\u7f16\u5199\u7684\uff0c\u56e0\u6b64\u7406\u8bba\u4e0a\u53ef\u4ee5\u901a\u8fc7CGO\u5b9e\u73b0\u3002\u5176\u6b21\u3001\u66f4\u5e38\u89c1\u7684\u65b9\u5f0f\u662f\u6267\u884c\u5b50\u8fdb\u7a0b\uff0c\u5373\u5728Go\u7a0b\u5e8f\u4e2d\u542f\u52a8\u4e00\u4e2a\u65b0\u7684PHP\u8fdb\u7a0b\u6765\u6267\u884cPHP\u811a\u672c\u3002<strong>\u6267\u884c\u5b50\u8fdb\u7a0b\u662f\u76ee\u524d\u4f7f\u7528Go\u8bed\u8a00\u8fd0\u884cPHP\u7684\u4e3b\u6d41\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u4e0d\u9700\u8981\u76f4\u63a5\u4e0ePHP\u7684C\u8bed\u8a00\u5e95\u5c42\u4ea4\u4e92<\/strong>\uff0c\u7b80\u5316\u4e86\u64cd\u4f5c\u6b65\u9aa4\u5e76\u4e14\u5177\u6709\u8f83\u9ad8\u7684\u7075\u6d3b\u6027\u3002<\/p>\n<\/p>\n<p><p>\u8ba9\u6211\u4eec\u9996\u5148\u8be6\u7ec6\u63a2\u8ba8\u6267\u884c\u5b50\u8fdb\u7a0b\u7684\u65b9\u6cd5\uff0c\u7136\u540e\u518d\u666e\u53ca\u4e00\u4e9b\u5173\u4e8eCGO\u7684\u77e5\u8bc6\uff0c\u4ee5\u4fbf\u5bf9\u8fd9\u4e24\u79cd\u65b9\u6cd5\u6709\u4e00\u4e2a\u5168\u9762\u7684\u7406\u89e3\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u6267\u884c\u5b50\u8fdb\u7a0b\u8fd0\u884cPHP<\/h3>\n<\/p>\n<p><p>\u6267\u884c\u5b50\u8fdb\u7a0b\u662f\u6307\u4ece\u4e00\u4e2a\u4e3b\u7a0b\u5e8f\uff08\u5728\u8fd9\u91cc\u662fGo\u8bed\u8a00\u7f16\u5199\u7684\u7a0b\u5e8f\uff09\u4e2d\u542f\u52a8\u4e00\u4e2a\u5b50\u7a0b\u5e8f\uff08PHP\u811a\u672c\uff09\uff0c\u8fd9\u6837\u5b50\u7a0b\u5e8f\u5c06\u5728\u72ec\u7acb\u7684\u8fdb\u7a0b\u4e2d\u8fd0\u884c\u3002\u8fd9\u79cd\u65b9\u6cd5\u7684\u4f18\u52bf\u5728\u4e8e\u5b83\u7b80\u5355\u3001\u6613\u4e8e\u5b9e\u73b0\uff0c\u5e76\u4e14\u4e0ePHP\u811a\u672c\u7684\u8fd0\u884c\u73af\u5883\u9694\u79bb\uff0c\u6240\u4ee5\u53ef\u4ee5\u964d\u4f4e\u6f5c\u5728\u7684\u5b89\u5168\u98ce\u9669\u3002<\/p>\n<\/p>\n<p><h4>\u5b50\u8fdb\u7a0b\u7684\u521b\u5efa\u4e0e\u7ba1\u7406<\/h4>\n<\/p>\n<p><p>\u5728Go\u8bed\u8a00\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>os\/exec<\/code>\u5305\u6765\u521b\u5efa\u5e76\u8fd0\u884c\u5b50\u8fdb\u7a0b\u3002\u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a<code>exec.Cmd<\/code>\u5b9e\u4f8b\uff0c\u5b83\u5305\u542b\u4e86\u8981\u6267\u884c\u7684\u547d\u4ee4\u548c\u53c2\u6570\u3002\u7136\u540e\uff0c\u4f7f\u7528<code>Run()<\/code>\u3001<code>Start()<\/code>\u6216<code>Output()<\/code>\u7b49\u65b9\u6cd5\u6765\u8fd0\u884c\u547d\u4ee4\u5e76\u83b7\u53d6\u7ed3\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-go\">package m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n<\/p>\n<p>import (<\/p>\n<p>    &quot;os\/exec&quot;<\/p>\n<p>    &quot;fmt&quot;<\/p>\n<p>)<\/p>\n<p>func main() {<\/p>\n<p>    cmd := exec.Command(&quot;php&quot;, &quot;your-script.php&quot;)<\/p>\n<p>    output, err := cmd.Output()<\/p>\n<p>    if err != nil {<\/p>\n<p>        panic(err)<\/p>\n<p>    }<\/p>\n<p>    fmt.Println(string(output))<\/p>\n<p>}<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u5904\u7406PHP\u811a\u672c\u7684\u8f93\u51fa<\/h4>\n<\/p>\n<p><p>\u4e0a\u8ff0\u4ee3\u7801\u6bb5\u4e2d\u7684<code>Output()<\/code>\u65b9\u6cd5\u4f1a\u7b49\u5f85\u547d\u4ee4\u5b8c\u6210\uff0c\u5e76\u8fd4\u56de\u6807\u51c6\u8f93\u51fa\u7684\u5185\u5bb9\u3002\u5982\u679cPHP\u811a\u672c\u6709\u8f93\u51fa\uff0c\u5b83\u5c06\u88ab\u6355\u83b7\u5e76\u8f6c\u6362\u4e3aGo\u8bed\u8a00\u7684\u5b57\u7b26\u4e32\u3002\u5982\u679c\u9700\u8981\u540c\u65f6\u83b7\u53d6\u6807\u51c6\u8f93\u51fa\u548c\u6807\u51c6\u9519\u8bef\uff0c\u53ef\u4ee5\u4f7f\u7528<code>CombinedOutput()<\/code>\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001CGO\u8c03\u7528PHP\u5e95\u5c42<\/h3>\n<\/p>\n<p><p>\u867d\u7136\u4e0d\u5e38\u89c1\uff0c\u4f46\u7406\u8bba\u4e0a\u53ef\u4ee5\u901a\u8fc7CGO\u76f4\u63a5\u8c03\u7528PHP\u7684C\u8bed\u8a00\u5e95\u5c42\u51fd\u6570\u3002\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e00\u70b9\uff0c\u9700\u8981\u6df1\u5165\u4e86\u89e3PHP\u5185\u90e8\u7684\u5b9e\u73b0\u7ec6\u8282\uff0c\u5e76\u5c06PHP\u7f16\u8bd1\u4e3a\u53ef\u4ee5\u88abCGO\u94fe\u63a5\u7684\u5e93\u3002<\/p>\n<\/p>\n<p><h4>CGO\u7684\u57fa\u672c\u6982\u5ff5<\/h4>\n<\/p>\n<p><p>CGO\u662fGo\u8bed\u8a00\u7684\u4e00\u4e2a\u7279\u6027\uff0c\u5141\u8bb8Go\u7a0b\u5e8f\u8c03\u7528C\u8bed\u8a00\u4ee3\u7801\u3002\u5728Go\u4ee3\u7801\u4e2d\u4f7f\u7528<code>import &quot;C&quot;<\/code>\uff0c\u7136\u540e\u5728\u6ce8\u91ca\u4e2d\u5199\u4e0aC\u8bed\u8a00\u7684\u4ee3\u7801\uff0cGo\u7684\u7f16\u8bd1\u5668\u80fd\u591f\u7406\u89e3\u548c\u7f16\u8bd1\u8fd9\u4e9bC\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u5b9e\u73b0CGO\u8c03\u7528<\/h4>\n<\/p>\n<p><p>\u8981\u901a\u8fc7CGO\u8c03\u7528PHP\u7684\u5e95\u5c42\u5b9e\u73b0\uff0c\u9700\u8981\u521b\u5efa\u5305\u88c5\u7684C\u51fd\u6570\u6765\u66b4\u9732PHP\u7684\u529f\u80fd\uff0c\u5e76\u5c06\u8fd9\u4e9bC\u51fd\u6570\u58f0\u660e\u4e3aGo\u8bed\u8a00\u53ef\u4ee5\u8c03\u7528\u7684\u63a5\u53e3\u3002\u8fd9\u662f\u4e00\u4e2a\u9ad8\u7ea7\u6280\u672f\u6d3b\uff0c\u9700\u8981\u8de8\u8bed\u8a00\u7f16\u7a0b\u7684\u6df1\u5165\u77e5\u8bc6\u548c\u7ecf\u9a8c\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001Go\u8bed\u8a00\u4e2dPHP\u96c6\u6210\u7684\u5b9e\u8df5\u5e94\u7528<\/h3>\n<\/p>\n<p><p>Go\u8bed\u8a00\u4e2d\u96c6\u6210PHP\u811a\u672c\u7684\u5b9e\u9645\u5e94\u7528\u53ef\u80fd\u5305\u62ec\u4e3a\u73b0\u6709\u7684PHP\u9879\u76ee\u6dfb\u52a0\u9ad8\u6027\u80fd\u7684Go\u6a21\u5757\uff0c\u6216\u5728Go\u670d\u52a1\u4e2d\u52a8\u6001\u5730\u8fd0\u884cPHP\u811a\u672c\u6765\u5904\u7406\u7279\u5b9a\u7684\u4efb\u52a1\u3002<\/p>\n<\/p>\n<p><h4>\u73b0\u6709PHP\u9879\u76ee\u4e2d\u96c6\u6210Go<\/h4>\n<\/p>\n<p><p>\u5728\u4e00\u4e2a\u73b0\u6709\u7684PHP\u9879\u76ee\u4e2d\u96c6\u6210Go\u4ee3\u7801\u901a\u5e38\u662f\u51fa\u4e8e\u6027\u80fd\u8003\u8651\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u7528Go\u91cd\u65b0\u7f16\u5199CPU\u5bc6\u96c6\u578b\u6216IO\u5bc6\u96c6\u578b\u7684\u6a21\u5757\uff0c\u5e76\u901a\u8fc7\u7f51\u7edc\u8bf7\u6c42\u6216\u547d\u4ee4\u884c\u8c03\u7528\u539f\u6765\u7684PHP\u4ee3\u7801\u3002<\/p>\n<\/p>\n<p><h4>\u52a8\u6001\u6267\u884cPHP\u811a\u672c<\/h4>\n<\/p>\n<p><p>\u5728\u4e00\u4e9b\u573a\u666f\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5728Go\u670d\u52a1\u4e2d\u52a8\u6001\u6267\u884cPHP\u811a\u672c\uff0c\u8fd9\u65f6\u5c31\u53ef\u4ee5\u7528\u5230\u524d\u9762\u63d0\u5230\u7684\u5b50\u8fdb\u7a0b\u6267\u884c\u65b9\u6cd5\u3002\u53ef\u4ee5\u5b9e\u73b0\u4e00\u4e2aGo\u670d\u52a1\uff0c\u63a5\u53d7\u7279\u5b9a\u7684\u8bf7\u6c42\u5e76\u6839\u636e\u8bf7\u6c42\u52a8\u6001\u5730\u6267\u884c\u76f8\u5173\u7684PHP\u811a\u672c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u6700\u4f73\u5b9e\u8df5\u548c\u6f5c\u5728\u95ee\u9898<\/h3>\n<\/p>\n<p><p>\u96c6\u6210PHP\u5230Go\u8bed\u8a00\u73af\u5883\u4e2d\u9700\u8981\u8003\u8651\u5230\u5f88\u591a\u6700\u4f73\u5b9e\u8df5\u548c\u6f5c\u5728\u95ee\u9898\uff0c\u6bd4\u5982\u6027\u80fd\u5f71\u54cd\u3001\u9519\u8bef\u5904\u7406\u3001\u73af\u5883\u914d\u7f6e\u7b49\u3002<\/p>\n<\/p>\n<p><h4>\u6027\u80fd\u4f18\u5316<\/h4>\n<\/p>\n<p><p>\u65e2\u7136\u9009\u62e9\u4e86Go\u8bed\u8a00\uff0c\u5c31\u8981\u8003\u8651\u5982\u4f55\u53d1\u6325\u5b83\u7684\u5e76\u53d1\u548c\u6027\u80fd\u4f18\u52bf\u3002\u52a1\u5fc5\u786e\u4fddPHP\u811a\u672c\u7684\u8c03\u7528\u4e0d\u4f1a\u6210\u4e3a\u74f6\u9888\uff0c\u9700\u8981\u8bc4\u4f30\u5e76\u53d1\u6267\u884c\u5b50\u8fdb\u7a0b\u7684\u60c5\u51b5\uff0c\u6216\u8005\u4f7f\u7528CGO\u65f6\u7684\u6027\u80fd\u6d88\u8017\u3002<\/p>\n<\/p>\n<p><h4>\u9519\u8bef\u548c\u5f02\u5e38\u5904\u7406<\/h4>\n<\/p>\n<p><p>\u8c03\u7528\u5916\u90e8\u811a\u672c\u6216\u670d\u52a1\u65f6\uff0c\u6709\u53ef\u80fd\u4f1a\u9047\u5230\u9519\u8bef\u6216\u5f02\u5e38\u3002\u9700\u8981\u5728Go\u8bed\u8a00\u7a0b\u5e8f\u4e2d\u505a\u9002\u5f53\u7684\u9519\u8bef\u6355\u83b7\u548c\u5904\u7406\u3002\u4f8b\u5982\uff0c\u5982\u679cPHP\u811a\u672c\u6267\u884c\u9519\u8bef\uff0c\u8981\u80fd\u901a\u8fc7\u5408\u9002\u7684\u673a\u5236\u8fdb\u884c\u8bb0\u5f55\u548c\u54cd\u5e94\u3002<\/p>\n<\/p>\n<p><h4>\u73af\u5883\u4e00\u81f4\u6027<\/h4>\n<\/p>\n<p><p>\u5f53\u5728Go\u4e2d\u6267\u884cPHP\u811a\u672c\u65f6\uff0cPHP\u8fd0\u884c\u65f6\u7684\u73af\u5883\u8bbe\u7f6e\u975e\u5e38\u5173\u952e\u3002\u5fc5\u987b\u786e\u4fdd\u5728\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u751f\u4ea7\u73af\u5883\u4e2dPHP\u7684\u8fd0\u884c\u73af\u5883\u662f\u4e00\u81f4\u7684\u3002\u5305\u62ecPHP\u7684\u7248\u672c\u3001\u6269\u5c55\u3001\u914d\u7f6e\u6587\u4ef6\u7b49\u3002<\/p>\n<\/p>\n<p><p>\u5728\u6574\u4e2a\u96c6\u6210\u6d41\u7a0b\u4e2d\uff0c\u7ec6\u8282\u548c\u7cbe\u51c6\u7684\u5b9e\u73b0\u5bf9\u6210\u529f\u8fd0\u884cPHP\u81f3\u5173\u91cd\u8981\u3002\u4ee5\u4e0a\u5c31\u662f\u4f7f\u7528Go\u8bed\u8a00\u8fd0\u884cPHP\u7684\u4e24\u79cd\u4e3b\u8981\u65b9\u6cd5\u53ca\u5176\u76f8\u5173\u5b9e\u8df5\uff0c\u90fd\u5404\u6709\u5229\u5f0a\uff0c\u9002\u7528\u4e8e\u4e0d\u540c\u573a\u666f\u3002\u9009\u62e9\u54ea\u4e00\u79cd\u65b9\u6cd5\u53d6\u51b3\u4e8e\u9879\u76ee\u9700\u6c42\u3001\u6027\u80fd\u8003\u8651\u548c\u5f00\u53d1\u8005\u7684\u6280\u80fd\u6c34\u5e73\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p><strong>1. Go\u8bed\u8a00\u548cPHP\u6709\u4ec0\u4e48\u4e0d\u540c\u4e4b\u5904\uff1f<\/strong><br \/>\nGo\u8bed\u8a00\u662f\u4e00\u79cd\u7f16\u8bd1\u578b\u8bed\u8a00\uff0c\u800cPHP\u662f\u4e00\u79cd\u89e3\u91ca\u578b\u8bed\u8a00\u3002Go\u8bed\u8a00\u4e3b\u8981\u7528\u4e8e\u6784\u5efa\u9ad8\u6027\u80fd\u7684\u7cfb\u7edf\u7ea7\u8f6f\u4ef6\uff0c\u800cPHP\u5219\u901a\u5e38\u88ab\u7528\u4e8eWeb\u5f00\u53d1\u3002\u53e6\u5916\uff0cGo\u8bed\u8a00\u5177\u6709\u9759\u6001\u7c7b\u578b\u548c\u5f3a\u7c7b\u578b\u7684\u7279\u6027\uff0c\u800cPHP\u662f\u52a8\u6001\u7c7b\u578b\u548c\u5f31\u7c7b\u578b\u7684\u3002<\/p>\n<p><strong>2. \u662f\u5426\u53ef\u4ee5\u5728Go\u8bed\u8a00\u4e2d\u76f4\u63a5\u8fd0\u884cPHP\u4ee3\u7801\uff1f<\/strong><br \/>\n\u5b9e\u9645\u4e0a\uff0cGo\u8bed\u8a00\u672c\u8eab\u5e76\u4e0d\u80fd\u76f4\u63a5\u8fd0\u884cPHP\u4ee3\u7801\uff0c\u56e0\u4e3a\u5b83\u4eec\u662f\u4e24\u79cd\u4e0d\u540c\u7684\u7f16\u7a0b\u8bed\u8a00\u3002\u5982\u679c\u4f60\u60f3\u5728Go\u8bed\u8a00\u73af\u5883\u4e0b\u8fd0\u884cPHP\u4ee3\u7801\uff0c\u4f60\u9700\u8981\u4f7f\u7528PHP\u89e3\u91ca\u5668\u6216\u8005\u901a\u8fc7\u4e0ePHP\u4ea4\u4e92\u7684\u65b9\u5f0f\u6765\u5b9e\u73b0\u3002<\/p>\n<p><strong>3. \u5982\u4f55\u5728Go\u8bed\u8a00\u4e2d\u4e0ePHP\u4ea4\u4e92\uff1f<\/strong><br \/>\n\u4f60\u53ef\u4ee5\u4f7f\u7528Go\u8bed\u8a00\u7684CGO\uff08C\u8bed\u8a00\u6269\u5c55\u63a5\u53e3\uff09\u529f\u80fd\u6765\u4e0ePHP\u4ea4\u4e92\u3002\u9996\u5148\uff0c\u4f60\u9700\u8981\u5728Go\u4ee3\u7801\u4e2d\u901a\u8fc7\u8c03\u7528CGO\u63a5\u53e3\u52a0\u8f7dPHP\u89e3\u91ca\u5668\u3002\u7136\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528CGO\u6765\u8c03\u7528PHP\u7684\u51fd\u6570\u6216\u8005\u6267\u884cPHP\u811a\u672c\u3002\u8fd9\u5c31\u4f7f\u5f97\u4f60\u80fd\u591f\u5728Go\u8bed\u8a00\u4e2d\u5d4c\u5165PHP\u4ee3\u7801\u5e76\u8fdb\u884c\u4ea4\u4e92\u64cd\u4f5c\u3002<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8fd9\u79cd\u65b9\u5f0f\u9700\u8981\u4f60\u5df2\u7ecf\u5c06PHP\u89e3\u91ca\u5668\u5b89\u88c5\u5728\u4f60\u7684\u673a\u5668\u4e0a\uff0c\u5e76\u4e14\u9700\u8981\u914d\u7f6e\u597dCGO\u76f8\u5173\u7684\u73af\u5883\u548c\u5e93\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4f60\u53ef\u80fd\u8fd8\u9700\u8981\u4e86\u89e3\u4e00\u4e9b\u5173\u4e8ePHP\u548cGo\u8bed\u8a00\u4e4b\u95f4\u6570\u636e\u7c7b\u578b\u7684\u8f6c\u6362\u4ee5\u53ca\u4e92\u64cd\u4f5c\u7684\u7ec6\u8282\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Go\u8bed\u8a00\u901a\u8fc7\u8c03\u7528CGO\u6216\u6267\u884c\u5b50\u8fdb\u7a0b\u7684\u65b9\u5f0f\u6765\u8fd0\u884cPHP\u3002\u9996\u5148\uff0cCGO\u53ef\u4ee5\u7528\u4e8e\u5728Go\u4ee3\u7801\u4e2d\u76f4\u63a5\u8c03\u7528C\u8bed\u8a00\u4ee3\u7801\uff0c\u56e0\u4e3a [&hellip;]","protected":false},"author":3,"featured_media":184187,"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\/184182"}],"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=184182"}],"version-history":[{"count":0,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/184182\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/184187"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=184182"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=184182"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=184182"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}