{"id":1129,"date":"2025-01-20T23:34:42","date_gmt":"2025-01-20T15:34:42","guid":{"rendered":"https:\/\/www.laixuexila.com\/?p=1129"},"modified":"2025-01-21T00:17:07","modified_gmt":"2025-01-20T16:17:07","slug":"workerman-%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%96%e4%b8%8e%e8%b0%83%e8%af%95%ef%bc%9a%e6%8f%90%e5%8d%87%e5%b9%b6%e5%8f%91%e5%a4%84%e7%90%86%e8%83%bd%e5%8a%9b%e4%b8%8e%e9%94%99%e8%af%af%e8%b0%83%e8%af%95","status":"publish","type":"post","link":"https:\/\/www.laixuexila.com\/index.php\/2025\/01\/20\/workerman-%e6%80%a7%e8%83%bd%e4%bc%98%e5%8c%96%e4%b8%8e%e8%b0%83%e8%af%95%ef%bc%9a%e6%8f%90%e5%8d%87%e5%b9%b6%e5%8f%91%e5%a4%84%e7%90%86%e8%83%bd%e5%8a%9b%e4%b8%8e%e9%94%99%e8%af%af%e8%b0%83%e8%af%95\/","title":{"rendered":"Workerman \u6027\u80fd\u4f18\u5316\u4e0e\u8c03\u8bd5\uff1a\u63d0\u5347\u5e76\u53d1\u5904\u7406\u80fd\u529b\u4e0e\u9519\u8bef\u8c03\u8bd5\u6280\u5de7"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u5728\u8fd9\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u63a2\u8ba8\u4e86\u5982\u4f55\u4f18\u5316 <a href=\"https:\/\/www.laixuexila.com\/index.php\/2024\/12\/15\/workerman\u5168\u666f\u4ecb\u7ecd\uff1a\u4ece\u57fa\u7840\u5230\u8fdb\u9636\u7684\u5168\u9762\u89e3\u6790\/\">Workerman <\/a>\u7684\u6027\u80fd\uff0c\u5305\u62ec\u76d1\u63a7\u8fdb\u7a0b\u3001\u8c03\u6574\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u3001\u4f18\u5316\u5185\u5b58\u4f7f\u7528\u548c\u8fdb\u7a0b\u6570\u7b49\u65b9\u9762\u3002\u540c\u65f6\uff0c\u6211\u4eec\u4e5f\u8bb2\u89e3\u4e86\u5982\u4f55\u8c03\u8bd5 Workerman \u5e94\u7528\u4e2d\u7684\u9519\u8bef\uff0c\u5305\u62ec\u65e5\u5fd7\u7ba1\u7406\u3001\u5f02\u5e38\u5904\u7406\u548c\u8c03\u8bd5\u6a21\u5f0f\u7684\u4f7f\u7528\u3002\u901a\u8fc7\u8fd9\u4e9b\u65b9\u6cd5\uff0c\u60a8\u53ef\u4ee5\u6709\u6548\u63d0\u5347 Workerman \u5e94\u7528\u7684\u6027\u80fd\u548c\u7a33\u5b9a\u6027\uff0c\u786e\u4fdd\u5e94\u7528\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u7684\u53ef\u9760\u8fd0\u884c\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>1. \u6027\u80fd\u8c03\u4f18<\/strong><\/h4>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(1) \u5982\u4f55\u76d1\u63a7 Workerman \u7684\u6027\u80fd<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u6027\u80fd\u76d1\u63a7\u662f\u786e\u4fdd\u5e94\u7528\u9ad8\u6548\u8fd0\u884c\u7684\u5173\u952e\u6b65\u9aa4\u3002Workerman \u63d0\u4f9b\u4e86\u4e00\u4e9b\u5de5\u5177\u6765\u5e2e\u52a9\u5f00\u53d1\u8005\u5b9e\u65f6\u76d1\u63a7\u6027\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 <code>status<\/code> \u547d\u4ee4\u67e5\u770b\u8fdb\u7a0b\u72b6\u6001<\/strong><br>Workerman \u53ef\u4ee5\u901a\u8fc7\u547d\u4ee4\u884c\u5de5\u5177\u6765\u67e5\u770b\u5f53\u524d\u5de5\u4f5c\u8fdb\u7a0b\u7684\u72b6\u6001\uff0c\u5305\u62ec\u6bcf\u4e2a\u8fdb\u7a0b\u7684\u5185\u5b58\u4f7f\u7528\u91cf\u3001CPU \u5360\u7528\u60c5\u51b5\u3001\u8fde\u63a5\u6570\u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  php start.php status<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u5c06\u8f93\u51fa\u5f53\u524d Workerman \u8fdb\u7a0b\u7684\u6027\u80fd\u72b6\u6001\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u76d1\u63a7\u5185\u5b58\u4e0e CPU \u4f7f\u7528\u60c5\u51b5<\/strong><br>\u901a\u8fc7\u5728 Workerman \u8fdb\u7a0b\u4e2d\u52a0\u5165\u76d1\u63a7\u4ee3\u7801\uff0c\u60a8\u53ef\u4ee5\u5b9e\u65f6\u8ddf\u8e2a\u6bcf\u4e2a\u8fdb\u7a0b\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\uff0c\u53ca\u65f6\u53d1\u73b0\u5185\u5b58\u6cc4\u6f0f\u6216\u9ad8\u5185\u5b58\u4f7f\u7528\u7684\u95ee\u9898\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  \/\/ \u8f93\u51fa\u5f53\u524d\u8fdb\u7a0b\u7684\u5185\u5b58\u4f7f\u7528\u60c5\u51b5\n  echo 'Memory Usage: ' . memory_get_usage() . \" bytes\\n\";<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528\u7b2c\u4e09\u65b9\u76d1\u63a7\u5de5\u5177<\/strong><br>\u60a8\u8fd8\u53ef\u4ee5\u5c06 Workerman \u4e0e\u7b2c\u4e09\u65b9\u76d1\u63a7\u5de5\u5177\uff08\u5982 <a href=\"https:\/\/www.manageengine.cn\/network-monitoring\/index-mobile.html?utm_source=baidu%26utm_medium%3Dcpc&amp;plan=OPM-OCPC2&amp;unit=\u8f6c\u5316&amp;keyword=prometheus&amp;e_creative=79178382485&amp;e_keywordid=540208433729&amp;e_keywordid2=540208433729&amp;bd_vid=11318304095003971063\">Prometheus<\/a>\u3001New Relic\u3001Grafana\uff09\u96c6\u6210\uff0c\u5b9e\u65f6\u76d1\u63a7\u670d\u52a1\u5668\u6027\u80fd\u548c\u5de5\u4f5c\u8fdb\u7a0b\u7684\u72b6\u6001\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(2) Workerman \u7684\u8d1f\u8f7d\u5747\u8861\u7b56\u7565<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Workerman \u9ed8\u8ba4\u652f\u6301\u8d1f\u8f7d\u5747\u8861\uff0c\u901a\u8fc7 <code>Worker<\/code> \u8fdb\u7a0b\u7ba1\u7406\uff0c\u5206\u914d\u4efb\u52a1\u5230\u591a\u4e2a\u8fdb\u7a0b\u3002\u6839\u636e\u5b9e\u9645\u9700\u8981\uff0c\u60a8\u53ef\u4ee5\u5bf9 Workerman \u7684\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u8fdb\u884c\u4f18\u5316\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 <code>count<\/code> \u8bbe\u7f6e\u8fdb\u7a0b\u6570<\/strong><br>Workerman \u652f\u6301\u901a\u8fc7 <code>count<\/code> \u5c5e\u6027\u6765\u8bbe\u7f6e\u8fdb\u7a0b\u6570\u3002\u589e\u52a0\u8fdb\u7a0b\u6570\u53ef\u4ee5\u63d0\u9ad8\u5e76\u53d1\u5904\u7406\u80fd\u529b\uff0c\u4f46\u4e5f\u9700\u8981\u8003\u8651\u670d\u52a1\u5668\u8d44\u6e90\uff08\u5982 CPU\u3001\u5185\u5b58\uff09\u7684\u9650\u5236\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;count = 8; \/\/ \u8bbe\u7f6e\u8fdb\u7a0b\u6570\u4e3a 8<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8d1f\u8f7d\u5747\u8861\u4e0e\u5206\u5e03\u5f0f\u90e8\u7f72<\/strong><br>\u5982\u679c\u5355\u673a\u6027\u80fd\u4e0d\u8db3\uff0c\u53ef\u4ee5\u4f7f\u7528 Workerman \u63d0\u4f9b\u7684\u8fdb\u7a0b\u95f4\u901a\u4fe1\uff08IPC\uff09\u529f\u80fd\uff0c\u6216\u8005\u901a\u8fc7\u591a\u4e2a\u670d\u52a1\u5668\u90e8\u7f72\u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\uff0c\u63d0\u5347\u7cfb\u7edf\u7684\u53ef\u4f38\u7f29\u6027\u3002<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(3) \u4f18\u5316\u5185\u5b58\u4f7f\u7528\u4e0e\u8fdb\u7a0b\u6570<\/strong><\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u8c03\u6574\u8fdb\u7a0b\u6570\u4e0e\u5185\u5b58<\/strong><br>\u5982\u679c\u60a8\u7684\u5e94\u7528\u5185\u5b58\u5360\u7528\u8f83\u9ad8\uff0c\u53ef\u4ee5\u8c03\u6574 Workerman \u7684\u8fdb\u7a0b\u6570\uff0c\u51cf\u5c11\u6bcf\u4e2a\u8fdb\u7a0b\u5904\u7406\u7684\u8fde\u63a5\u6570\uff0c\u6765\u964d\u4f4e\u6bcf\u4e2a\u8fdb\u7a0b\u7684\u5185\u5b58\u6d88\u8017\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;count = 4; \/\/ \u51cf\u5c11\u8fdb\u7a0b\u6570\uff0c\u8282\u7ea6\u5185\u5b58<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528\u5171\u4eab\u5185\u5b58\uff08<code>shm<\/code>\uff09<\/strong><br>Workerman \u652f\u6301\u4f7f\u7528\u5171\u4eab\u5185\u5b58\u6765\u5b58\u50a8\u5171\u4eab\u6570\u636e\uff0c\u51cf\u5c11\u8fdb\u7a0b\u95f4\u7684\u5185\u5b58\u5f00\u9500\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;shm-&gt;put('key', 'value');<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4f7f\u7528 <code>max_request<\/code> \u9650\u5236\u8bf7\u6c42\u6b21\u6570<\/strong><br>\u4e3a\u4e86\u9632\u6b62\u8fdb\u7a0b\u957f\u671f\u8fd0\u884c\u5bfc\u81f4\u5185\u5b58\u6cc4\u6f0f\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528 <code>max_request<\/code> \u8bbe\u7f6e\u6bcf\u4e2a\u8fdb\u7a0b\u5904\u7406\u7684\u6700\u5927\u8bf7\u6c42\u6570\u3002\u4e00\u65e6\u8fbe\u5230\u6b64\u9650\u5236\uff0c\u8fdb\u7a0b\u4f1a\u81ea\u52a8\u91cd\u542f\uff0c\u91ca\u653e\u5185\u5b58\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;max_request = 1000; \/\/ \u6bcf\u4e2a\u8fdb\u7a0b\u6700\u591a\u5904\u7406 1000 \u4e2a\u8bf7\u6c42\u540e\u91cd\u542f<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>2. \u9519\u8bef\u4e0e\u65e5\u5fd7\u8c03\u8bd5<\/strong><\/h4>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(1) \u5904\u7406 Workerman \u7684\u65e5\u5fd7\u8f93\u51fa<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u65e5\u5fd7\u8f93\u51fa\u5bf9\u4e8e\u8c03\u8bd5\u548c\u76d1\u63a7\u7cfb\u7edf\u81f3\u5173\u91cd\u8981\u3002Workerman \u63d0\u4f9b\u4e86\u7075\u6d3b\u7684\u65e5\u5fd7\u529f\u80fd\uff0c\u5e2e\u52a9\u5f00\u53d1\u8005\u8bb0\u5f55\u670d\u52a1\u8fd0\u884c\u7684\u72b6\u6001\u548c\u9519\u8bef\u4fe1\u606f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u914d\u7f6e\u65e5\u5fd7\u6587\u4ef6<\/strong><br>Workerman \u652f\u6301\u5c06\u65e5\u5fd7\u8f93\u51fa\u5230\u6587\u4ef6\u4e2d\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e <code>logFile<\/code> \u6765\u6307\u5b9a\u65e5\u5fd7\u6587\u4ef6\u8def\u5f84\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;logFile = '\/path\/to\/workerman.log'; \/\/ \u8bbe\u7f6e\u65e5\u5fd7\u6587\u4ef6<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u65e5\u5fd7\u7ea7\u522b<\/strong><br>Workerman \u5141\u8bb8\u8bbe\u7f6e\u65e5\u5fd7\u7ea7\u522b\uff0c\u4ee5\u63a7\u5236\u4e0d\u540c\u7ea7\u522b\u7684\u65e5\u5fd7\u4fe1\u606f\u3002\u5e38\u89c1\u7684\u65e5\u5fd7\u7ea7\u522b\u5305\u62ec <code>INFO<\/code>\u3001<code>WARNING<\/code>\u3001<code>ERROR<\/code> \u7b49\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;logLevel = Worker::LOG_LEVEL_INFO; \/\/ \u8bbe\u7f6e\u65e5\u5fd7\u7ea7\u522b\u4e3a\u4fe1\u606f\u7ea7\u522b<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u65e5\u5fd7\u8f93\u51fa\u5230\u7ec8\u7aef<\/strong><br>\u9664\u4e86\u5199\u5165\u65e5\u5fd7\u6587\u4ef6\uff0c\u60a8\u8fd8\u53ef\u4ee5\u5c06\u65e5\u5fd7\u8f93\u51fa\u5230\u7ec8\u7aef\uff0c\u65b9\u4fbf\u5b9e\u65f6\u67e5\u770b\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  $worker-&gt;stdout = true; \/\/ \u542f\u7528\u7ec8\u7aef\u8f93\u51fa\u65e5\u5fd7<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(2) \u5982\u4f55\u8c03\u8bd5 Workerman \u4e2d\u7684\u9519\u8bef<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u8c03\u8bd5 Workerman \u5e94\u7528\u4e2d\u7684\u9519\u8bef\uff0c\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u51e0\u79cd\u65b9\u6cd5\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u67e5\u770b Workerman \u7684\u9519\u8bef\u65e5\u5fd7<\/strong><br>\u9519\u8bef\u65e5\u5fd7\u53ef\u4ee5\u5e2e\u52a9\u60a8\u627e\u5230\u5f15\u53d1\u95ee\u9898\u7684\u6839\u672c\u539f\u56e0\uff0c\u5c24\u5176\u662f\u5728\u53d1\u751f\u5f02\u5e38\u6216\u5d29\u6e83\u65f6\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  tail -f \/path\/to\/workerman.log<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u542f\u7528 <code>debug<\/code> \u6a21\u5f0f<\/strong><br>\u60a8\u53ef\u4ee5\u901a\u8fc7\u542f\u7528 Workerman \u7684 <code>debug<\/code> \u6a21\u5f0f\uff0c\u6765\u83b7\u53d6\u66f4\u591a\u8be6\u7ec6\u7684\u9519\u8bef\u4fe1\u606f\u3002\u8fd9\u5bf9\u4e8e\u6392\u67e5\u95ee\u9898\u975e\u5e38\u6709\u5e2e\u52a9\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  Worker::runAll(true); \/\/ \u542f\u7528\u8c03\u8bd5\u6a21\u5f0f<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6355\u83b7\u5f02\u5e38\u5e76\u8f93\u51fa\u8c03\u8bd5\u4fe1\u606f<\/strong><br>\u5728\u5f00\u53d1\u9636\u6bb5\uff0c\u60a8\u53ef\u4ee5\u5728\u4ee3\u7801\u4e2d\u52a0\u5165\u5f02\u5e38\u6355\u83b7\uff0c\u6355\u83b7\u9519\u8bef\u5e76\u8f93\u51fa\u8be6\u7ec6\u7684\u8c03\u8bd5\u4fe1\u606f\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  try {\n      \/\/ \u6267\u884c\u67d0\u4e9b\u64cd\u4f5c\n  } catch (Exception $e) {\n      echo 'Error: ' . $e-&gt;getMessage();\n      echo 'Stack trace: ' . $e-&gt;getTraceAsString();\n  }<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\"><strong>(3) \u6355\u83b7\u548c\u5904\u7406\u5f02\u5e38<\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f02\u5e38\u5904\u7406\u5bf9\u4e8e\u7a33\u5b9a\u6027\u81f3\u5173\u91cd\u8981\uff0c\u7279\u522b\u662f\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u3002Workerman \u652f\u6301 PHP \u7684\u5f02\u5e38\u673a\u5236\uff0c\u53ef\u4ee5\u5e2e\u52a9\u60a8\u5728\u53d1\u751f\u9519\u8bef\u65f6\u6355\u83b7\u5e76\u5904\u7406\u5f02\u5e38\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5168\u5c40\u5f02\u5e38\u6355\u83b7<\/strong><br>\u53ef\u4ee5\u4f7f\u7528 PHP \u7684 <code>set_exception_handler<\/code> \u6765\u8bbe\u7f6e\u5168\u5c40\u5f02\u5e38\u5904\u7406\u51fd\u6570\uff0c\u786e\u4fdd\u672a\u6355\u83b7\u7684\u5f02\u5e38\u80fd\u591f\u88ab\u5904\u7406\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>  set_exception_handler(function($exception) {\n      echo \"Exception: \" . $exception-&gt;getMessage();\n  });<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5904\u7406\u5e38\u89c1\u9519\u8bef<\/strong><br>\u5728\u7f16\u5199\u5f02\u6b65\u7a0b\u5e8f\u65f6\uff0c\u60a8\u53ef\u80fd\u4f1a\u9047\u5230\u8bf8\u5982\u8fde\u63a5\u8d85\u65f6\u3001\u8bf7\u6c42\u5931\u8d25\u7b49\u95ee\u9898\u3002\u60a8\u53ef\u4ee5\u5728\u5408\u9002\u7684\u5730\u65b9\u52a0\u5165\u5f02\u5e38\u5904\u7406\u673a\u5236\uff0c\u786e\u4fdd\u5e94\u7528\u4e0d\u4f1a\u56e0\u4e3a\u5355\u4e00\u9519\u8bef\u800c\u5d29\u6e83\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u8fd9\u90e8\u5206\u4e2d\uff0c\u6211\u4eec\u63a2\u8ba8\u4e86\u5982\u4f55\u4f18\u5316 Workerman \u7684\u6027\u80fd\uff0c\u5305\u62ec\u76d1\u63a7\u8fdb\u7a0b\u3001\u8c03\u6574\u8d1f\u8f7d\u5747\u8861\u7b56\u7565\u3001\u4f18\u5316\u5185\u5b58\u4f7f\u7528\u548c\u8fdb\u7a0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-1129","post","type-post","status-publish","format-standard","hentry","category-workerman-php-"],"_links":{"self":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/comments?post=1129"}],"version-history":[{"count":2,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1129\/revisions"}],"predecessor-version":[{"id":1147,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/posts\/1129\/revisions\/1147"}],"wp:attachment":[{"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/media?parent=1129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/categories?post=1129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.laixuexila.com\/index.php\/wp-json\/wp\/v2\/tags?post=1129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}