{"id":22817,"date":"2024-11-21T09:10:52","date_gmt":"2024-11-21T01:10:52","guid":{"rendered":"https:\/\/fwq.ai\/blog\/22817\/"},"modified":"2024-11-21T09:10:52","modified_gmt":"2024-11-21T01:10:52","slug":"thinkphp%e9%97%ad%e5%8c%85%e5%87%bd%e6%95%b0%e6%80%8e%e4%b9%88%e7%94%a8","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/22817\/","title":{"rendered":"thinkphp\u95ed\u5305\u51fd\u6570\u600e\u4e48\u7528"},"content":{"rendered":"<p>thinkphp\u662f\u4e00\u4e2a\u57fa\u4e8emvc\u8bbe\u8ba1\u6a21\u5f0f\u7684\u8f7b\u91cf\u7ea7php\u5f00\u53d1\u6846\u67b6\uff0c\u88ab\u5e7f\u6cdb\u5730\u4f7f\u7528\u4e8eweb\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u3002\u5176\u4e2d\u6d89\u53ca\u7684\u95ed\u5305\u51fd\u6570\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u533f\u540d\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u52a8\u6001\u5730\u521b\u5efa\u5e76\u6267\u884c\u4ee3\u7801\u3002\u5728thinkphp\u4e2d\uff0c\u95ed\u5305\u51fd\u6570\u7684\u4f7f\u7528\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u7528\u4e8e\u591a\u79cd\u573a\u666f\u3002<\/p>\n<p>\u672c\u6587\u5c06\u4ecb\u7ecdThinkPHP\u4e2d\u95ed\u5305\u51fd\u6570\u7684\u57fa\u672c\u7528\u6cd5\uff0c\u4ee5\u53ca\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u7684\u5e94\u7528\u573a\u666f\u548c\u6ce8\u610f\u4e8b\u9879\u3002<\/p>\n<p>\u4e00\u3001\u95ed\u5305\u51fd\u6570\u7684\u5b9a\u4e49<\/p>\n<p>\u95ed\u5305\u51fd\u6570\u662f\u4e00\u79cd\u533f\u540d\u51fd\u6570\uff0c\u5b83\u6ca1\u6709\u540d\u79f0\uff0c\u4f46\u53ef\u4ee5\u88ab\u5f53\u505a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u51fd\u6570\u4f7f\u7528\u3002\u95ed\u5305\u51fd\u6570\u7684\u5b9a\u4e49\u65b9\u5f0f\u5982\u4e0b\uff1a<\/p>\n<pre>$Closure = function ($param) {\n    \/\/ \u51fd\u6570\u4f53\n};<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5176\u4e2d$Closure\u662f\u95ed\u5305\u51fd\u6570\u7684\u540d\u79f0\uff08\u53ef\u4ee5\u81ea\u5b9a\u4e49\uff09\uff0c$param\u662f\u4f20\u9012\u7ed9\u95ed\u5305\u51fd\u6570\u7684\u53c2\u6570\uff0c\u51fd\u6570\u4f53\u662f\u9700\u8981\u6267\u884c\u7684\u4ee3\u7801\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u95ed\u5305\u51fd\u6570\u901a\u5e38\u88ab\u5b9a\u4e49\u5728\u51fd\u6570\u5185\u90e8\uff0c\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u51fd\u6570\u7684\u53c2\u6570\u4f20\u9012\uff0c\u5e76\u5728\u4ee3\u7801\u6267\u884c\u65f6\u88ab\u52a8\u6001\u521b\u5efa\u548c\u8c03\u7528\u3002<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>\u4e8c\u3001\u95ed\u5305\u51fd\u6570\u7684\u57fa\u672c\u7528\u6cd5<\/p>\n<p>\u95ed\u5305\u51fd\u6570\u4e00\u822c\u7528\u4e8e\u9700\u8981\u52a8\u6001\u521b\u5efa\u548c\u8c03\u7528\u51fd\u6570\u7684\u573a\u666f\uff0c\u4f8b\u5982\u5728\u6570\u7ec4\u64cd\u4f5c\u3001\u4e8b\u4ef6\u89e6\u53d1\u3001\u56de\u8c03\u51fd\u6570\u7b49\u573a\u666f\u4e2d\u3002\u4e0b\u9762\u662f\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u7684\u4e00\u4e9b\u57fa\u672c\u7528\u6cd5\uff1a<\/p>\n<ol>\n<li>\u76f4\u63a5\u8c03\u7528\u95ed\u5305\u51fd\u6570<\/li>\n<\/ol>\n<p>\u4e0b\u9762\u7684\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u76f4\u63a5\u8c03\u7528\u95ed\u5305\u51fd\u6570\uff1a<\/p>\n<pre>$Closure = function ($param) {\n    echo \"Hello, \".$param.\"!\";\n};\n\n$Closure(\"World\"); \/\/ \u8f93\u51fa\uff1aHello, World!<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ol>\n<li>\u5c06\u95ed\u5305\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012<\/li>\n<\/ol>\n<p>\u4e0b\u9762\u7684\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u5c06\u95ed\u5305\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\uff1a<\/p>\n<pre>function array_map_c(Closure $func, array $arr) {\n    $new_arr = array();\n    foreach($arr as $key =&amp;gt; $value) {\n        $new_arr[$key] = $func($value);\n    }\n    return $new_arr;\n}\n\n$arr = array(1, 2, 3);\n$new_arr = array_map_c(function($v) {\n    return $v * 2;\n}, $arr);\n\nprint_r($new_arr); \/\/ \u8f93\u51fa\uff1aArray ( [0] =&amp;gt; 2 [1] =&amp;gt; 4 [2] =&amp;gt; 6 )<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2aarray_map_c()\u51fd\u6570\uff0c\u5b83\u63a5\u53d7\u4e00\u4e2a\u95ed\u5305\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\uff0c\u5e76\u5c06\u8fd9\u4e2a\u95ed\u5305\u51fd\u6570\u5e94\u7528\u5230\u6570\u7ec4\u7684\u6bcf\u4e2a\u5143\u7d20\u4e0a\uff0c\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u6570\u7ec4\u3002<\/p>\n<ol>\n<li>\u5728\u7c7b\u4e2d\u4f7f\u7528\u95ed\u5305\u51fd\u6570<\/li>\n<\/ol>\n<p>\u5728\u7c7b\u4e2d\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u7684\u65b9\u6cd5\u548c\u5728\u51fd\u6570\u4e2d\u4f7f\u7528\u76f8\u4f3c\u3002\u4e0b\u9762\u7684\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u5728\u4e00\u4e2a\u7c7b\u4e2d\u4f7f\u7528\u95ed\u5305\u51fd\u6570\uff1a<\/p>\n<pre>class Person {\n    private $name;\n    public function __construct($name) {\n        $this-&amp;gt;name = $name;\n    }\n    public function sayHello() {\n        $Closure = function () {\n            echo \"Hello, \".$this-&amp;gt;name.\"!\";\n        };\n        $Closure();\n    }\n}\n\n$John = new Person(\"John\");\n$John-&amp;gt;sayHello(); \/\/ \u8f93\u51fa\uff1aHello, John!<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u4e0a\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2aPerson\u7c7b\uff0c\u5b83\u5305\u542b\u79c1\u6709\u53d8\u91cf$name\u548c\u4e00\u4e2a\u516c\u5171\u65b9\u6cd5sayHello()\u3002\u5728sayHello()\u65b9\u6cd5\u4e2d\uff0c\u6211\u4eec\u5b9a\u4e49\u4e86\u4e00\u4e2a\u95ed\u5305\u51fd\u6570$Closure\uff0c\u7528\u4e8e\u8f93\u51fa\u201cHello, John!\u201d\u8fd9\u4e2a\u5b57\u7b26\u4e32\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5728$Closure\u51fd\u6570\u4e2d\uff0c$this\u53d8\u91cf\u53ef\u4ee5\u8bbf\u95ee\u7c7b\u4e2d\u7684\u79c1\u6709\u53d8\u91cf$name\u3002<\/p>\n<p>\u4e09\u3001\u95ed\u5305\u51fd\u6570\u7684\u5e94\u7528\u573a\u666f<\/p>\n<p>\u95ed\u5305\u51fd\u6570\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u53ef\u4ee5\u5e94\u7528\u4e8e\u591a\u79cd\u573a\u666f\uff0c\u4e0b\u9762\u662f\u5176\u4e2d\u7684\u4e00\u4e9b\u5e38\u89c1\u5e94\u7528\u573a\u666f\uff1a<\/p>\n<ol>\n<li>\u6570\u636e\u64cd\u4f5c<\/li>\n<\/ol>\n<p>\u5728\u8fdb\u884c\u6570\u7ec4\u6216\u6570\u636e\u96c6\u7684\u64cd\u4f5c\u65f6\uff0c\u95ed\u5305\u51fd\u6570\u53ef\u4ee5\u4f5c\u4e3a\u4e00\u4e2a\u56de\u8c03\u51fd\u6570\u4f20\u9012\u7ed9\u76f8\u5173\u7684\u51fd\u6570\uff0c\u80fd\u591f\u5b9e\u73b0\u66f4\u4e3a\u7075\u6d3b\u7684\u6570\u636e\u64cd\u4f5c\u3002<\/p>\n<ol>\n<li>\u4e8b\u4ef6\u89e6\u53d1<\/li>\n<\/ol>\n<p>\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u5b9e\u73b0\u4e8b\u4ef6\u89e6\u53d1\u65f6\uff0c\u53ef\u4ee5\u5728\u4e8b\u4ef6\u89e6\u53d1\u7684\u65f6\u5019\u52a8\u6001\u5730\u521b\u5efa\u548c\u8c03\u7528\u76f8\u5e94\u7684\u4e8b\u4ef6\u5904\u7406\u51fd\u6570\u3002<\/p>\n<ol>\n<li>\u5ef6\u8fdf\u6267\u884c<\/li>\n<\/ol>\n<p>\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u53ef\u4ee5\u5b9e\u73b0\u9700\u8981\u5ef6\u8fdf\u6267\u884c\u7684\u4ee3\u7801\u5757\uff0c\u4e5f\u53ef\u4ee5\u5728\u6267\u884c\u5b8c\u6bd5\u540e\u8fd4\u56de\u76f8\u5bf9\u8f83\u5927\u7684\u5bf9\u8c61\uff0c\u4ece\u800c\u51cf\u5c11\u8bf7\u6c42\u6b21\u6570\uff0c\u63d0\u5347\u6027\u80fd\u3002<\/p>\n<ol>\n<li>\u6570\u636e\u9a8c\u8bc1<\/li>\n<\/ol>\n<p>\u5728\u6570\u636e\u9a8c\u8bc1\u7684\u65f6\u5019\uff0c\u95ed\u5305\u51fd\u6570\u53ef\u4ee5\u4f5c\u4e3a\u9a8c\u8bc1\u5668\u7684\u56de\u8c03\u51fd\u6570\uff0c\u6839\u636e\u4e0d\u540c\u7684\u9700\u8981\u548c\u573a\u666f\u52a8\u6001\u5730\u521b\u5efa\u9a8c\u8bc1\u89c4\u5219\u3002<\/p>\n<p>\u56db\u3001\u6ce8\u610f\u4e8b\u9879<\/p>\n<p>\u5728\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u65f6\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u95ee\u9898\uff0c\u4e0b\u9762\u662f\u5176\u4e2d\u4e00\u4e9b\u5e38\u89c1\u7684\u95ee\u9898\uff1a<\/p>\n<p>1.\u53d8\u91cf\u4f5c\u7528\u57df<\/p>\n<p>\u95ed\u5305\u51fd\u6570\u548c\u666e\u901a\u7684\u51fd\u6570\u4e00\u6837\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u4e0d\u80fd\u76f4\u63a5\u8bbf\u95ee\u5916\u90e8\u53d8\u91cf\u3002\u5982\u679c\u9700\u8981\u8bbf\u95ee\u5916\u90e8\u53d8\u91cf\uff0c\u53ef\u4ee5\u4f7f\u7528use\u5173\u952e\u5b57\u5c06\u5176\u4f20\u9012\u7ed9\u95ed\u5305\u51fd\u6570\u3002<\/p>\n<p>2.\u6027\u80fd\u95ee\u9898<\/p>\n<p>\u5c3d\u7ba1\u95ed\u5305\u51fd\u6570\u5728\u90e8\u5206\u573a\u666f\u4e0b\u53ef\u4ee5\u63d0\u5347\u5f00\u53d1\u6548\u7387\uff0c\u4f46\u662f\u5728\u6027\u80fd\u4e0a\u5b83\u4f1a\u6bd4\u666e\u901a\u51fd\u6570\u7565\u6162\u3002\u56e0\u6b64\uff0c\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u9700\u8981\u6839\u636e\u5177\u4f53\u60c5\u51b5\u5224\u65ad\u662f\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u8fd8\u662f\u4f7f\u7528\u666e\u901a\u51fd\u6570\u3002<\/p>\n<p>3.\u517c\u5bb9\u6027\u95ee\u9898<\/p>\n<p>\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5728\u67d0\u4e9bPHP\u7248\u672c\u4e2d\uff0c\u95ed\u5305\u51fd\u6570\u53ef\u80fd\u4f1a\u5b58\u5728\u517c\u5bb9\u6027\u95ee\u9898\u3002\u5982\u679c\u5728\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u7684\u8fc7\u7a0b\u4e2d\u51fa\u73b0\u95ee\u9898\uff0c\u53ef\u4ee5\u68c0\u67e5PHP\u7684\u7248\u672c\uff0c\u5e76\u5c1d\u8bd5\u5347\u7ea7\u5230\u6700\u65b0\u7684\u7248\u672c\u3002<\/p>\n<p>\u603b\u4e4b\uff0c\u95ed\u5305\u51fd\u6570\u662f\u4e00\u4e2a\u975e\u5e38\u7075\u6d3b\u548c\u5f3a\u5927\u7684\u7f16\u7a0b\u5de5\u5177\uff0c\u80fd\u591f\u5728\u5f88\u591a\u573a\u666f\u4e2d\u53d1\u6325\u91cd\u8981\u4f5c\u7528\u3002\u5728ThinkPHP\u4e2d\uff0c\u95ed\u5305\u51fd\u6570\u7684\u4f7f\u7528\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u5e94\u7528\u4e8e\u591a\u79cd\u6570\u636e\u64cd\u4f5c\u3001\u4e8b\u4ef6\u89e6\u53d1\u3001\u5ef6\u8fdf\u6267\u884c\u3001\u6570\u636e\u9a8c\u8bc1\u7b49\u573a\u666f\u3002\u540c\u65f6\u4e5f\u9700\u8981\u6ce8\u610f\u4e00\u4e9b\u95ee\u9898\uff0c\u4f8b\u5982\u53d8\u91cf\u4f5c\u7528\u57df\u3001\u6027\u80fd\u95ee\u9898\u3001\u517c\u5bb9\u6027\u95ee\u9898\u7b49\u3002\u638c\u63e1\u95ed\u5305\u51fd\u6570\u7684\u7528\u6cd5\u548c\u6ce8\u610f\u4e8b\u9879\uff0c\u6709\u52a9\u4e8e\u63d0\u9ad8\u7a0b\u5e8f\u7684\u53ef\u8bfb\u6027\u3001\u53ef\u7ef4\u62a4\u6027\u548c\u6027\u80fd\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fthinkphp\u95ed\u5305\u51fd\u6570\u600e\u4e48\u7528\u7684\u8be6\u7ec6\u5185\u5bb9\uff0c\u66f4\u591a\u8bf7\u5173\u6ce8\u7c73\u4e91\u5176\u5b83\u76f8\u5173\u6587\u7ae0\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>thinkphp\u662f\u4e00\u4e2a\u57fa\u4e8emvc\u8bbe\u8ba1\u6a21\u5f0f\u7684\u8f7b\u91cf\u7ea7php\u5f00\u53d1\u6846\u67b6\uff0c\u88ab\u5e7f\u6cdb\u5730\u4f7f\u7528\u4e8eweb\u5e94\u7528\u7a0b\u5e8f\u7684\u5f00\u53d1\u3002\u5176\u4e2d\u6d89\u53ca\u7684\u95ed\u5305\u51fd\u6570\u662f\u4e00\u79cd\u7279\u6b8a\u7684\u533f\u540d\u51fd\u6570\uff0c\u5b83\u53ef\u4ee5\u5728\u7a0b\u5e8f\u8fd0\u884c\u65f6\u52a8\u6001\u5730\u521b\u5efa\u5e76\u6267\u884c\u4ee3\u7801\u3002\u5728thinkphp\u4e2d\uff0c\u95ed\u5305\u51fd\u6570\u7684\u4f7f\u7528\u975e\u5e38\u7075\u6d3b\uff0c\u53ef\u4ee5\u7528\u4e8e\u591a\u79cd\u573a\u666f\u3002 \u672c\u6587\u5c06\u4ecb\u7ecdThinkPHP\u4e2d\u95ed\u5305\u51fd\u6570\u7684\u57fa\u672c\u7528\u6cd5\uff0c\u4ee5\u53ca\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\u7684\u5e94\u7528\u573a\u666f\u548c\u6ce8\u610f\u4e8b\u9879\u3002 \u4e00\u3001\u95ed\u5305\u51fd\u6570\u7684\u5b9a\u4e49 \u95ed\u5305\u51fd\u6570\u662f\u4e00\u79cd\u533f\u540d\u51fd\u6570\uff0c\u5b83\u6ca1\u6709\u540d\u79f0\uff0c\u4f46\u53ef\u4ee5\u88ab\u5f53\u505a\u53c2\u6570\u4f20\u9012\u7ed9\u5176\u4ed6\u51fd\u6570\u4f7f\u7528\u3002\u95ed\u5305\u51fd\u6570\u7684\u5b9a\u4e49\u65b9\u5f0f\u5982\u4e0b\uff1a $Closure = function ($param) { \/\/ \u51fd\u6570\u4f53 }; \u767b\u5f55\u540e\u590d\u5236 \u5176\u4e2d$Closure\u662f\u95ed\u5305\u51fd\u6570\u7684\u540d\u79f0\uff08\u53ef\u4ee5\u81ea\u5b9a\u4e49\uff09\uff0c$param\u662f\u4f20\u9012\u7ed9\u95ed\u5305\u51fd\u6570\u7684\u53c2\u6570\uff0c\u51fd\u6570\u4f53\u662f\u9700\u8981\u6267\u884c\u7684\u4ee3\u7801\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u95ed\u5305\u51fd\u6570\u901a\u5e38\u88ab\u5b9a\u4e49\u5728\u51fd\u6570\u5185\u90e8\uff0c\u4e5f\u53ef\u4ee5\u4f5c\u4e3a\u51fd\u6570\u7684\u53c2\u6570\u4f20\u9012\uff0c\u5e76\u5728\u4ee3\u7801\u6267\u884c\u65f6\u88ab\u52a8\u6001\u521b\u5efa\u548c\u8c03\u7528\u3002 \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b \u4e8c\u3001\u95ed\u5305\u51fd\u6570\u7684\u57fa\u672c\u7528\u6cd5 \u95ed\u5305\u51fd\u6570\u4e00\u822c\u7528\u4e8e\u9700\u8981\u52a8\u6001\u521b\u5efa\u548c\u8c03\u7528\u51fd\u6570\u7684\u573a\u666f\uff0c\u4f8b\u5982\u5728\u6570\u7ec4\u64cd\u4f5c\u3001\u4e8b\u4ef6\u89e6\u53d1\u3001\u56de\u8c03\u51fd\u6570\u7b49\u573a\u666f\u4e2d\u3002\u4e0b\u9762\u662f\u4f7f\u7528\u95ed\u5305\u51fd\u6570\u7684\u4e00\u4e9b\u57fa\u672c\u7528\u6cd5\uff1a \u76f4\u63a5\u8c03\u7528\u95ed\u5305\u51fd\u6570 \u4e0b\u9762\u7684\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u76f4\u63a5\u8c03\u7528\u95ed\u5305\u51fd\u6570\uff1a $Closure = function ($param) { echo &#8220;Hello, &#8220;.$param.&#8221;!&#8221;; }; $Closure(&#8220;World&#8221;); \/\/ \u8f93\u51fa\uff1aHello, World! \u767b\u5f55\u540e\u590d\u5236 \u5c06\u95ed\u5305\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012 \u4e0b\u9762\u7684\u4ee3\u7801\u6f14\u793a\u4e86\u5982\u4f55\u5c06\u95ed\u5305\u51fd\u6570\u4f5c\u4e3a\u53c2\u6570\u4f20\u9012\uff1a function array_map_c(Closure $func, array $arr) { $new_arr = array(); foreach($arr as $key =&amp;gt; $value) { $new_arr[$key] = $func($value); } return [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-22817","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/22817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=22817"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/22817\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=22817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=22817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=22817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}