{"id":23612,"date":"2024-11-21T13:37:26","date_gmt":"2024-11-21T05:37:26","guid":{"rendered":"https:\/\/fwq.ai\/blog\/23612\/"},"modified":"2024-11-21T13:37:26","modified_gmt":"2024-11-21T05:37:26","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8thinkphp6%e5%ae%9e%e7%8e%b0%e8%ae%a2%e5%8d%95%e7%ae%a1%e7%90%86%e7%b3%bb%e7%bb%9f","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/23612\/","title":{"rendered":"\u5982\u4f55\u4f7f\u7528ThinkPHP6\u5b9e\u73b0\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf"},"content":{"rendered":"<p>\u968f\u7740\u4e92\u8054\u7f51\u7684\u53d1\u5c55\u548c\u7535\u5b50\u5546\u52a1\u7684\u5174\u8d77\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u5f00\u59cb\u4f7f\u7528\u5728\u7ebf\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7ba1\u7406\u8ba2\u5355\u3001\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3001\u63d0\u4f9b\u66f4\u597d\u7684\u5ba2\u6237\u670d\u52a1\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u75286\u6846\u67b6\u5f00\u53d1\u4e00\u4e2a\u7b80\u5355\u7684\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\uff0c\u6db5\u76d6\u4e86\u8ba2\u5355\u5217\u8868\u3001\u8ba2\u5355\u8be6\u60c5\u3001\u641c\u7d22\u3001\u6392\u5e8f\u3001\u5206\u9875\u7b49\u529f\u80fd\u3002<\/p>\n<ol>\n<li>\u51c6\u5907\u5de5\u4f5c<\/li>\n<\/ol>\n<p>\u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5\u597dPHP\u3001MySQL\u548cComposer\u3002\u5728\u5b89\u88c5\u5b8c\u8fd9\u4e9b\u5fc5\u5907\u7ec4\u4ef6\u540e\uff0c\u5c31\u53ef\u4ee5\u5b89\u88c5ThinkPHP6\u3002\u5982\u679c\u60a8\u4e0d\u719f\u6089ThinkPHP6\uff0c\u53ef\u4ee5\u9605\u8bfb\u5b98\u65b9\u6587\u6863\u6216\u8005\u53c2\u8003\u4e00\u4e9b\u76f8\u5173\u6559\u7a0b\u3002<\/p>\n<ol>\n<li>\u521b\u5efa\u6570\u636e\u5e93\u548c\u6570\u636e\u8868<\/li>\n<\/ol>\n<p>\u5728\u5f00\u59cb\u5f00\u53d1\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\u4e4b\u524d\uff0c\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\u3002\u5728MySQL\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201corder_system\u201d\u7684\u6570\u636e\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201corders\u201d\u7684\u6570\u636e\u8868\u3002<\/p>\n<p>\u8be5\u6570\u636e\u8868\u5305\u542b\u4ee5\u4e0b\u5b57\u6bb5\uff1a<\/p>\n<p>id &#8211; \u8ba2\u5355ID<\/p>\n<p><span>\u7acb\u5373\u5b66\u4e60<\/span>\u201c\u201d\uff1b<\/p>\n<p>customer_name &#8211; \u5ba2\u6237\u59d3\u540d<\/p>\n<p>customer_email &#8211; \u5ba2\u6237\u7535\u5b50\u90ae\u4ef6<\/p>\n<p>product_name &#8211; \u4ea7\u54c1\u540d\u79f0<\/p>\n<p>product_price &#8211; \u4ea7\u54c1\u4ef7\u683c<\/p>\n<p>product_quantity &#8211; \u4ea7\u54c1\u6570\u91cf<\/p>\n<p>created_at &#8211; \u8ba2\u5355\u521b\u5efa\u65f6\u95f4<\/p>\n<p>updated_at &#8211; \u8ba2\u5355\u66f4\u65b0\u65f6\u95f4<\/p>\n<ol>\n<li>\u521b\u5efa\u6a21\u578b\u548c\u63a7\u5236\u5668<\/li>\n<\/ol>\n<p>\u5728ThinkPHP6\u4e2d\uff0c\u4e00\u4e2a\u6a21\u578b\u5bf9\u5e94\u4e00\u4e2a\u6570\u636e\u8868\uff0c\u4e00\u4e2a\u63a7\u5236\u5668\u5bf9\u5e94\u4e00\u4e2a\u8def\u7531\u3002<\/p>\n<p>\u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cOrder\u201d\u7684\u6a21\u578b\uff0c\u5b83\u5c06\u5bf9\u5e94\u201corders\u201d\u6570\u636e\u8868\u3002<\/p>\n<pre>php artisan make:model Order -m<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6dfb\u52a0\u5230\u704c\u5165\u7684\u4ee3\u7801<\/p>\n<pre>namespace appmodel;\n\nuse thinkModel;\n\nclass Order extends Model\n{\n\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cOrder\u201d\u7684\u63a7\u5236\u5668\u548c\u201cindex\u201d\u65b9\u6cd5\uff0c\u7528\u4e8e\u663e\u793a\u8ba2\u5355\u5217\u8868\u89c6\u56fe\u3002<\/p>\n<pre>php artisan make:controller Order --resource<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6dfb\u52a0\u5230Action\u4e2d\u3001\u4ee3\u7801<\/p>\n<pre>public function index()\n{\n    $orders = Order::paginate(10);\n    return view('order\/index', ['orders' =&amp;gt; $orders]);\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<ol>\n<li>\u521b\u5efa\u89c6\u56fe<\/li>\n<\/ol>\n<p>\u63a5\u4e0b\u6765\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cindex.blade.php\u201d\u7684\u89c6\u56fe\uff0c\u7528\u4e8e\u663e\u793a\u8ba2\u5355\u5217\u8868\uff0c\u5b83\u5305\u542b\u4e86\u641c\u7d22\u3001\u6392\u5e8f\u548c\u5206\u9875\u7684\u529f\u80fd\u3002<\/p>\n<p>\u9996\u5148\uff0c\u5728\u201corder\u201d\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cindex.blade.php\u201d\u7684\u89c6\u56fe\u6587\u4ef6\uff0c\u7136\u540e\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>@extends('layout')\n\n@section('content')\n    &lt;h2&gt;\u8ba2\u5355\u5217\u8868&lt;\/h2&gt;\n\n    <\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 \u641c\u7d22 <\/p>\n<table>\n<thead>\n<tr>\n<th>ID<\/th>\n<th>\u5ba2\u6237\u59d3\u540d<\/th>\n<th>\u5ba2\u6237\u7535\u5b50\u90ae\u4ef6<\/th>\n<th>\u4ea7\u54c1\u540d\u79f0<\/th>\n<th>\u4ea7\u54c1\u4ef7\u683c<\/th>\n<th>\u4ea7\u54c1\u6570\u91cf<\/th>\n<th>\u8ba2\u5355\u521b\u5efa\u65f6\u95f4<\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n   @foreach ($orders as $order) <\/p>\n<tr>\n<td>{{$order-&gt;id}}<\/td>\n<td>{{$order-&gt;customer_name}}<\/td>\n<td>{{$order-&gt;customer_email}}<\/td>\n<td>{{$order-&gt;product_name}}<\/td>\n<td>{{$order-&gt;product_price}}<\/td>\n<td>{{$order-&gt;product_quantity}}<\/td>\n<td>{{$order-&gt;created_at}}<\/td>\n<td><\/td>\n<\/tr>\n<p> @endforeach<br \/>\n <\/tbody>\n<\/table>\n<p> {{$orders-&gt;links()}} @endsection <\/p>\n<p>\u5728\u8be5\u89c6\u56fe\u4e2d\uff0c\u4f7f\u7528\u4e86Bootstrap\u6837\u5f0f\uff0c\u8fd8\u6dfb\u52a0\u4e86\u4e00\u4e2a\u641c\u7d22\u6846\u548c\u4e00\u4e2a\u5206\u9875\u63a7\u4ef6\u3002<\/p>\n<ol>\n<li>\u521b\u5efa\u8ba2\u5355\u8be6\u60c5\u65b9\u6cd5\u548c\u89c6\u56fe<\/li>\n<\/ol>\n<p>\u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cshow\u201d\u65b9\u6cd5\u548c\u4e00\u4e2a\u540d\u4e3a\u201cshow.blade.php\u201d\u7684\u89c6\u56fe\uff0c\u7528\u4e8e\u663e\u793a\u8ba2\u5355\u7684\u8be6\u7ec6\u4fe1\u606f\u3002<\/p>\n<p>\u5728\u201cOrder\u201d\u63a7\u5236\u5668\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>public function show($id)\n{\n    $order = Order::findOrFail($id);\n    return view('order\/show', ['order' =&amp;gt; $order]);\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u201corder\u201d\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cshow.blade.php\u201d\u7684\u89c6\u56fe\u6587\u4ef6\uff0c\u5e76\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>@extends('layout')\n\n@section('content')\n    &lt;h2&gt;\u8ba2\u5355\u8be6\u60c5&lt;\/h2&gt;\n\n    <\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<table>\n<tbody>\n<tr>\n<th>ID<\/th>\n<td>{{$order-&gt;id}}<\/td>\n<\/tr>\n<tr>\n<th>\u5ba2\u6237\u59d3\u540d<\/th>\n<td>{{$order-&gt;customer_name}}<\/td>\n<\/tr>\n<tr>\n<th>\u5ba2\u6237\u7535\u5b50\u90ae\u4ef6<\/th>\n<td>{{$order-&gt;customer_email}}<\/td>\n<\/tr>\n<tr>\n<th>\u4ea7\u54c1\u540d\u79f0<\/th>\n<td>{{$order-&gt;product_name}}<\/td>\n<\/tr>\n<tr>\n<th>\u4ea7\u54c1\u4ef7\u683c<\/th>\n<td>{{$order-&gt;product_price}}<\/td>\n<\/tr>\n<tr>\n<th>\u4ea7\u54c1\u6570\u91cf<\/th>\n<td>{{$order-&gt;product_quantity}}<\/td>\n<\/tr>\n<tr>\n<th>\u8ba2\u5355\u521b\u5efa\u65f6\u95f4<\/th>\n<td>{{$order-&gt;created_at}}<\/td>\n<\/tr>\n<tr>\n<th>\u8ba2\u5355\u66f4\u65b0\u65f6\u95f4<\/th>\n<td>{{$order-&gt;updated_at}}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  @endsection <\/p>\n<ol>\n<li>\u6dfb\u52a0\u641c\u7d22\u3001\u6392\u5e8f\u548c\u5206\u9875\u529f\u80fd<\/li>\n<\/ol>\n<p>\u4e3a\u4e86\u5b9e\u73b0\u641c\u7d22\u3001\u6392\u5e8f\u548c\u5206\u9875\u529f\u80fd\uff0c\u9700\u8981\u5bf9\u201cindex\u201d\u65b9\u6cd5\u8fdb\u884c\u4fee\u6539\u3002<\/p>\n<p>\u5728\u201cOrder\u201d\u63a7\u5236\u5668\u7684\u201cindex\u201d\u65b9\u6cd5\u4e2d\u6dfb\u52a0\u4ee5\u4e0b\u4ee3\u7801\uff1a<\/p>\n<pre>public function index(Request $request)\n{\n    $q = $request-&amp;gt;input('q');\n\n    $orders = Order::when($q, function ($query) use ($q) {\n            $query-&amp;gt;where('customer_name', 'like', \"%$q%\")\n                -&amp;gt;orWhere('customer_email', 'like', \"%$q%\")\n                -&amp;gt;orWhere('product_name', 'like', \"%$q%\");\n        })\n        -&amp;gt;orderBy('created_at', 'desc')\n        -&amp;gt;paginate(10)\n        -&amp;gt;appends(['q' =&amp;gt; $q]);\n\n    return view('order\/index', ['orders' =&amp;gt; $orders, 'q' =&amp;gt; $q]);\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u5728\u8be5\u4ee3\u7801\u4e2d\uff0c\u4f7f\u7528\u4e86IlluminateSupportFacadesRequest\u7c7b\u6765\u83b7\u53d6\u641c\u7d22\u53c2\u6570\u201cq\u201d\uff0c\u5e76\u4e14\u4f7f\u7528\u4e86\u201corderBy\u201d\u65b9\u6cd5\u6765\u6309\u521b\u5efa\u65f6\u95f4\u5012\u5e8f\u6392\u5e8f\u3002\u7136\u540e\uff0c\u4f7f\u7528\u201cpaginate\u201d\u65b9\u6cd5\u6765\u5206\u9875\uff0c\u5e76\u4f7f\u7528\u201cappends\u201d\u65b9\u6cd5\u6765\u5c06\u641c\u7d22\u53c2\u6570\u6dfb\u52a0\u5230\u5206\u9875\u94fe\u63a5\u4e2d\u3002<\/p>\n<ol>\n<li>\u6d4b\u8bd5<\/li>\n<\/ol>\n<p>\u73b0\u5728\u53ef\u4ee5\u6d4b\u8bd5\u5df2\u7ecf\u521b\u5efa\u7684\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\u4e86\u3002\u5728\u6d4f\u89c8\u5668\u4e2d\u8f93\u5165http:\/\/localhost\/orders\u5c31\u53ef\u4ee5\u770b\u5230\u8ba2\u5355\u5217\u8868\u4e86\u3002\u5728\u8f93\u5165\u5173\u952e\u5b57\u5e76\u70b9\u51fb\u641c\u7d22\u6309\u94ae\u540e\uff0c\u53ef\u4ee5\u770b\u5230\u641c\u7d22\u7ed3\u679c\uff1b\u70b9\u51fb\u8be6\u60c5\u6309\u94ae\u540e\u53ef\u4ee5\u67e5\u770b\u8ba2\u5355\u8be6\u60c5\u3002\u5728\u5206\u9875\u94fe\u63a5\u4e0b\u65b9\uff0c\u53ef\u4ee5\u770b\u5230\u5206\u9875\u63a7\u4ef6\u3002<\/p>\n<p>\u603b\u7ed3<\/p>\n<p>\u5230\u6b64\uff0c\u6211\u4eec\u5df2\u7ecf\u5b8c\u6210\u4e86\u4f7f\u7528ThinkPHP6\u6846\u67b6\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\u7684\u6240\u6709\u6b65\u9aa4\u3002\u672c\u6587\u4ecb\u7ecd\u4e86\u5982\u4f55\u521b\u5efa\u6570\u636e\u8868\u3001\u6a21\u578b\u548c\u63a7\u5236\u5668\uff0c\u5e76\u4e14\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528\u89c6\u56fe\u6587\u4ef6\u6765\u5448\u73b0\u8ba2\u5355\u6570\u636e\u3001\u641c\u7d22\u3001\u6392\u5e8f\u548c\u5206\u9875\u3002\u901a\u8fc7\u5b66\u4e60\u6b64\u6559\u7a0b\uff0c\u60a8\u53ef\u4ee5\u66f4\u6df1\u5165\u5730\u7406\u89e3ThinkPHP6\u6846\u67b6\uff0c\u5e76\u4e14\u80fd\u591f\u4f7f\u7528ThinkPHP6\u6846\u67b6\u5f00\u53d1\u60a8\u81ea\u5df1\u7684\u4e1a\u52a1\u7cfb\u7edf\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5982\u4f55\u4f7f\u7528ThinkPHP6\u5b9e\u73b0\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\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>\u968f\u7740\u4e92\u8054\u7f51\u7684\u53d1\u5c55\u548c\u7535\u5b50\u5546\u52a1\u7684\u5174\u8d77\uff0c\u8d8a\u6765\u8d8a\u591a\u7684\u4f01\u4e1a\u5f00\u59cb\u4f7f\u7528\u5728\u7ebf\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u7ba1\u7406\u8ba2\u5355\u3001\u63d0\u9ad8\u5de5\u4f5c\u6548\u7387\u3001\u63d0\u4f9b\u66f4\u597d\u7684\u5ba2\u6237\u670d\u52a1\u3002\u672c\u6587\u5c06\u4ecb\u7ecd\u5982\u4f55\u4f7f\u75286\u6846\u67b6\u5f00\u53d1\u4e00\u4e2a\u7b80\u5355\u7684\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\uff0c\u6db5\u76d6\u4e86\u8ba2\u5355\u5217\u8868\u3001\u8ba2\u5355\u8be6\u60c5\u3001\u641c\u7d22\u3001\u6392\u5e8f\u3001\u5206\u9875\u7b49\u529f\u80fd\u3002 \u51c6\u5907\u5de5\u4f5c \u9996\u5148\uff0c\u9700\u8981\u5b89\u88c5\u597dPHP\u3001MySQL\u548cComposer\u3002\u5728\u5b89\u88c5\u5b8c\u8fd9\u4e9b\u5fc5\u5907\u7ec4\u4ef6\u540e\uff0c\u5c31\u53ef\u4ee5\u5b89\u88c5ThinkPHP6\u3002\u5982\u679c\u60a8\u4e0d\u719f\u6089ThinkPHP6\uff0c\u53ef\u4ee5\u9605\u8bfb\u5b98\u65b9\u6587\u6863\u6216\u8005\u53c2\u8003\u4e00\u4e9b\u76f8\u5173\u6559\u7a0b\u3002 \u521b\u5efa\u6570\u636e\u5e93\u548c\u6570\u636e\u8868 \u5728\u5f00\u59cb\u5f00\u53d1\u8ba2\u5355\u7ba1\u7406\u7cfb\u7edf\u4e4b\u524d\uff0c\u9700\u8981\u521b\u5efa\u4e00\u4e2a\u6570\u636e\u5e93\u3002\u5728MySQL\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201corder_system\u201d\u7684\u6570\u636e\u5e93\uff0c\u7136\u540e\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201corders\u201d\u7684\u6570\u636e\u8868\u3002 \u8be5\u6570\u636e\u8868\u5305\u542b\u4ee5\u4e0b\u5b57\u6bb5\uff1a id &#8211; \u8ba2\u5355ID \u7acb\u5373\u5b66\u4e60\u201c\u201d\uff1b customer_name &#8211; \u5ba2\u6237\u59d3\u540d customer_email &#8211; \u5ba2\u6237\u7535\u5b50\u90ae\u4ef6 product_name &#8211; \u4ea7\u54c1\u540d\u79f0 product_price &#8211; \u4ea7\u54c1\u4ef7\u683c product_quantity &#8211; \u4ea7\u54c1\u6570\u91cf created_at &#8211; \u8ba2\u5355\u521b\u5efa\u65f6\u95f4 updated_at &#8211; \u8ba2\u5355\u66f4\u65b0\u65f6\u95f4 \u521b\u5efa\u6a21\u578b\u548c\u63a7\u5236\u5668 \u5728ThinkPHP6\u4e2d\uff0c\u4e00\u4e2a\u6a21\u578b\u5bf9\u5e94\u4e00\u4e2a\u6570\u636e\u8868\uff0c\u4e00\u4e2a\u63a7\u5236\u5668\u5bf9\u5e94\u4e00\u4e2a\u8def\u7531\u3002 \u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cOrder\u201d\u7684\u6a21\u578b\uff0c\u5b83\u5c06\u5bf9\u5e94\u201corders\u201d\u6570\u636e\u8868\u3002 php artisan make:model Order -m \u767b\u5f55\u540e\u590d\u5236 \u6dfb\u52a0\u5230\u704c\u5165\u7684\u4ee3\u7801 namespace appmodel; use thinkModel; class Order extends Model { } \u767b\u5f55\u540e\u590d\u5236 \u7136\u540e\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u201cOrder\u201d\u7684\u63a7\u5236\u5668\u548c\u201cindex\u201d\u65b9\u6cd5\uff0c\u7528\u4e8e\u663e\u793a\u8ba2\u5355\u5217\u8868\u89c6\u56fe\u3002 php artisan [&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-23612","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23612","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=23612"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/23612\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=23612"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=23612"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=23612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}