{"id":32081,"date":"2024-11-25T09:44:13","date_gmt":"2024-11-25T01:44:13","guid":{"rendered":"https:\/\/fwq.ai\/blog\/32081\/"},"modified":"2024-11-25T09:44:13","modified_gmt":"2024-11-25T01:44:13","slug":"dva%e6%a1%86%e6%9e%b6%e7%bb%9f%e4%b8%80%e5%a4%84%e7%90%86%e6%89%80%e6%9c%89%e9%a1%b5%e9%9d%a2%e7%9a%84loading%e7%8a%b6%e6%80%81","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/32081\/","title":{"rendered":"DVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001"},"content":{"rendered":"<p>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5173\u4e8edva\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\uff0c\u6709\u7740\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u73b0\u5728\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b<\/p>\n<p>dva \u6709\u4e00\u4e2a\u7ba1\u7406 effects \u6267\u884c\u7684 hook\uff0c\u5e76\u57fa\u4e8e\u6b64\u5c01\u88c5\u4e86 dva-loading \u63d2\u4ef6\u3002\u4e0b\u9762\u901a\u8fc7\u672c\u6587\u7ed9\u5927\u5bb6\u5206\u4eabDVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\uff0c\u611f\u5174\u8da3\u7684\u670b\u53cb\u4e00\u8d77\u770b\u770b\u5427<\/p>\n<p>dva \u6709\u4e00\u4e2a\u7ba1\u7406 effects \u6267\u884c\u7684 hook\uff0c\u5e76\u57fa\u4e8e\u6b64\u5c01\u88c5\u4e86 dva-loading \u63d2\u4ef6\u3002\u901a\u8fc7\u8fd9\u4e2a\u63d2\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u4e0d\u5fc5\u4e00\u904d\u904d\u5730\u5199 showLoading \u548c hideLoading\uff0c\u5f53\u53d1\u8d77\u8bf7\u6c42\u65f6\uff0c\u63d2\u4ef6\u4f1a\u81ea\u52a8\u8bbe\u7f6e\u6570\u636e\u91cc\u7684 loading \u72b6\u6001\u4e3a true \u6216 false \u3002\u7136\u540e\u6211\u4eec\u5728\u6e32\u67d3 components \u65f6\u7ed1\u5b9a\u5e76\u6839\u636e\u8fd9\u4e2a\u6570\u636e\u8fdb\u884c\u6e32\u67d3\u3002<\/p>\n<p>dva-loading\u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355\uff0c\u5728index.js\u4e2d\u52a0\u5165\uff1a<\/p>\n<\/p>\n<pre>\/\/&nbsp;2.&nbsp;Plugins\napp.use(createLoading());<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u6bcf\u4e2a\u9875\u9762\u4e2d\u5c06loading\u72b6\u6001\u4f5c\u4e3a\u5c5e\u6027\u4f20\u5165\u7ec4\u4ef6\uff0c\u5728\u8fdb\u884c\u6837\u5f0f\u5904\u7406\uff0c\u6bd4\u5982\u8f6c\u5708\u5708\u6216\u8005\u663e\u793a\u6b63\u5728\u52a0\u8f7d\u4ec0\u4e48\u7684\uff0c\u4f46\u662f\u91cd\u70b9\u662f\uff0c\u6211\u4eec\u7684app\u6709\u591a\u4e2a\u9875\u9762\uff0c\u6bcf\u4e2a\u9875\u9762\u90fd\u8fd9\u4e48\u505a\uff0c\u5f88\u7e41\u7410\u3002<\/p>\n<p>\u5982\u4f55\u53ea\u505a\u4e00\u6b21\u72b6\u6001\u5904\u7406\uff0c\u6bcf\u6b21\u8bf7\u6c42\u671f\u95f4\u90fd\u4f1a\u89e6\u53d1loading\u72b6\u6001\u5462\uff0c\u5176\u5b9e\u4e5f\u5f88\u7b80\u5355\u5566\uff0c\u56e0\u4e3adva-loading\u63d0\u4f9b\u4e86\u4e00\u4e2aglobal\u5c5e\u6027\u3002<\/p>\n<p><strong>1\u3001state\u4e2d\u7684loading\u5bf9\u8c61<\/strong><\/p>\n<p style=\"text-align: center\"><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/009\/808e4570b927589861f2d2620f62f0dc-0.png\" class=\"aligncenter\" title=\"DVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\u63d2\u56fe\" alt=\"DVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\u63d2\u56fe\" \/><\/p>\n<p>loading\u5bf9\u8c61\u4e2d\u7684global\u5c5e\u6027\u8868\u793a\u7684\u5168\u5c40loading\u72b6\u6001\uff0cmodels\u91cc\u662f\u6bcf\u4e2amodel\u7684loading\u72b6\u6001<\/p>\n<p>\u6240\u4ee5\u6211\u4eec\u6839\u636estate.loading.global\u6307\u793a\u5168\u5c40loading\u72b6\u6001\u3002<\/p>\n<p><strong>2\u3001\u4e00\u4e2a\u7236\u7ea7\u7ec4\u4ef6<\/strong><\/p>\n<p>\u6211\u4eec\u8981\u5411\u6240\u6709\u9875\u9762\u5e94\u7528\u8fd9\u4e2aloading\u72b6\u6001\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u5728\u6bcf\u4e2a\u9875\u9762\u4e2d\u4f7f\u7528\u4e00\u4e2a\u7236\u7ea7\u7ec4\u4ef6\u6765\u5904\u7406\u8fd9\u4e2aloading\u3002\u4e0a\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<pre>import&nbsp;React&nbsp;from&nbsp;'react';\nimport&nbsp;styles&nbsp;from&nbsp;'.\/app.css';\nimport&nbsp;{&nbsp;connect&nbsp;}&nbsp;from&nbsp;'dva';\nimport&nbsp;{&nbsp;ActivityIndicator&nbsp;}&nbsp;from&nbsp;'antd-mobile';\nconst&nbsp;TIMER&nbsp;=&nbsp;800;\nlet&nbsp;timeoutId&nbsp;=&nbsp;null;\nclass&nbsp;App&nbsp;extends&nbsp;React.Component&nbsp;{\n&nbsp;state&nbsp;=&nbsp;{\n&nbsp;&nbsp;show:&nbsp;false\n&nbsp;}\n&nbsp;componentWillMount()&nbsp;{\n&nbsp;&nbsp;const&nbsp;{&nbsp;loading&nbsp;}&nbsp;=&nbsp;this.props;\n&nbsp;&nbsp;if&nbsp;(loading)&nbsp;{\n&nbsp;&nbsp;&nbsp;timeoutId&nbsp;=&nbsp;setTimeout(()&nbsp;=&amp;gt;&nbsp;{\n&nbsp;&nbsp;&nbsp;&nbsp;this.setState({\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;show:&nbsp;true\n&nbsp;&nbsp;&nbsp;&nbsp;});\n&nbsp;&nbsp;&nbsp;},&nbsp;TIMER);\n&nbsp;&nbsp;}\n&nbsp;}\n&nbsp;componentWillReceiveProps(nextProps)&nbsp;{\n&nbsp;&nbsp;const&nbsp;{&nbsp;loading&nbsp;}&nbsp;=&nbsp;nextProps;\n&nbsp;&nbsp;const&nbsp;{&nbsp;show&nbsp;}&nbsp;=&nbsp;this.state;\n&nbsp;&nbsp;this.setState({\n&nbsp;&nbsp;&nbsp;show:&nbsp;false\n&nbsp;&nbsp;});\n&nbsp;&nbsp;if&nbsp;(loading)&nbsp;{\n&nbsp;&nbsp;&nbsp;timeoutId&nbsp;=&nbsp;setTimeout(()&nbsp;=&amp;gt;&nbsp;{\n&nbsp;&nbsp;&nbsp;&nbsp;this.setState({\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;show:&nbsp;true\n&nbsp;&nbsp;&nbsp;&nbsp;});\n&nbsp;&nbsp;&nbsp;},&nbsp;TIMER);\n&nbsp;&nbsp;}\n&nbsp;}\n&nbsp;componentWillUnmount()&nbsp;{\n&nbsp;&nbsp;if&nbsp;(timeoutId)&nbsp;{\n&nbsp;&nbsp;&nbsp;clearTimeout(timeoutId);\n&nbsp;&nbsp;}\n&nbsp;}\n&nbsp;render()&nbsp;{\n&nbsp;&nbsp;const&nbsp;{&nbsp;loading&nbsp;}&nbsp;=&nbsp;this.props;\n&nbsp;&nbsp;const&nbsp;{&nbsp;show&nbsp;}&nbsp;=&nbsp;this.state;\n&nbsp;&nbsp;return&nbsp;(\n&nbsp;&nbsp;&nbsp;&lt;p&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;this.props.children&nbsp;}\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/p&gt;&lt;p&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;activityindicator&gt;&lt;\/activityindicator&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;\/p&gt;\n&nbsp;&nbsp;&nbsp;\n&nbsp;&nbsp;);\n&nbsp;}\n}\nconst&nbsp;mapStateToProps&nbsp;=&nbsp;(state,&nbsp;ownProps)&nbsp;=&amp;gt;&nbsp;{\n&nbsp;return&nbsp;{\n&nbsp;&nbsp;loading:&nbsp;state.loading.global&nbsp;&amp;amp;&amp;amp;&nbsp;!state.loading.models.Verify\n&nbsp;}\n};\nexport&nbsp;default&nbsp;connect(mapStateToProps)(App);<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8bf4\u660e\uff1a<\/p>\n<p>1\u3001 \u662fant-design mobile\u7684\u4e00\u4e2aloading\u6307\u793a\u7ec4\u4ef6\uff0canimating\u5c5e\u6027\u6307\u793a\u663e\u793a\u4e0e\u5426\uff0c\u6211\u4eec\u4f7f\u7528show\u548cloading\u4e24\u4e2a\u5c5e\u6027\u6765\u63a7\u5236\u663e\u793a\u4e0e\u5426\u3002<\/p>\n<p>2\u3001\u4e3a\u4ec0\u4e48\u8981show\u548cloading\u4e24\u4e2a\u53c2\u6570\uff0c\u6709\u4e2aloading\u4e0d\u5c31\u53ef\u4ee5\u4e86\u5417\uff1fshow\u7684\u5b58\u5728\u662f\u4e3a\u4e86\u5b9e\u73b0\u4e00\u4e2a\u9700\u6c42\uff1aloading\u5728\u8bf7\u6c42\u53d1\u751f\u7684TIMER\u65f6\u95f4\u540e\u51fa\u73b0\uff0c\u5982\u679c\u8bf7\u6c42\u5f88\u5feb\uff0c\u5c0f\u4e8eTIMER\u65f6\u95f4\uff0c\u90a3\u4e48\u5c31\u4e0d\u663e\u793aloading\u3002\u5982\u679c\u6ca1\u6709\u8fd9\u4e2a\u9700\u6c42\uff0c\u8fd9\u4e2a\u7ec4\u4ef6\u4e2d\u53ef\u4ee5\u53ea\u4fdd\u7559render()\u65b9\u6cd5\u3002<\/p>\n<p>3\u3001&amp;&amp; !state.loading.models.Verify\u8fd9\u4e2a\u662f\u505a\u4ec0\u4e48\u7684\uff1f\u8fd9\u4e2a\u7684\u4f5c\u7528\u662f\u6392\u9664Verify\u8fd9\u4e2amodel\u5bf9loading\u7684\u5f71\u54cd\uff0c\u6bd4\u5982\u6211\u4e0d\u60f3\u5728\u8fd9\u4e2amodel\u5bf9\u5e94\u7684\u9875\u9762\u51fa\u73b0loading\uff0c\u53ef\u4ee5\u5728\u8fd9\u91cc\u5904\u7406\u3002<\/p>\n<p>3\u3001\u5728router.js\u4e2d\u4f7f\u7528\u8fd9\u4e2a\u7236\u7ea7\u7ec4\u4ef6<\/p>\n<p>\u6709\u4e86\u8fd9\u4e2a\u7236\u7ea7\u7ec4\u4ef6\uff0c\u90a3\u4e48\u5728\u6bcf\u4e2a\u9875\u9762\u4e2d\u52a0\u5165\u8fd9\u4e2a\u7236\u7ea7\u7ec4\u4ef6\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0loading\uff0c\u5f53\u7136\u8fd9\u4e2a\u662f\u53ef\u4ee5\u5728router.js\u4e2d\u7edf\u4e00\u5904\u7406\u4e00\u4e0b\u7684\u3002<\/p>\n<p>\u6bd4\u5982\uff1a<\/p>\n<\/p>\n<pre>\n&nbsp;&lt;router&gt;\n&nbsp;&nbsp;&nbsp;&lt;route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;indexroute&gt;&lt;\/indexroute&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;route&gt;&lt;\/route&gt;\n&nbsp;&nbsp;&nbsp;&lt;\/route&gt;\n&nbsp;&nbsp;&lt;\/router&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u8fd9\u6837\uff0c\u5728\u8fdb\u5165\/admin\u4e0b\u7684\u6bcf\u4e2a\u9875\u9762\uff0c\u90fd\u4f1a\u52a0\u8f7dApp\u4f5c\u4e3a\u7236\u7ec4\u4ef6\u3002<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u672c\u6587\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u7684\u5b66\u4e60\u6709\u6240\u5e2e\u52a9\uff0c\u66f4\u591a\u76f8\u5173\u5185\u5bb9\u8bf7\u5173\u6ce8PHP\u4e2d\u6587\u7f51\uff01<\/p>\n<p>\u76f8\u5173\u63a8\u8350\uff1a<\/p>\n<p><\/p>\n<p><\/p>\n<p><\/p>\n<p><span><\/span><\/p>\n<p>\u4ee5\u4e0a\u5c31\u662fDVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\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>\u8fd9\u7bc7\u6587\u7ae0\u4e3b\u8981\u4ecb\u7ecd\u4e86\u5173\u4e8edva\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\uff0c\u6709\u7740\u4e00\u5b9a\u7684\u53c2\u8003\u4ef7\u503c\uff0c\u73b0\u5728\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u6709\u9700\u8981\u7684\u670b\u53cb\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b dva \u6709\u4e00\u4e2a\u7ba1\u7406 effects \u6267\u884c\u7684 hook\uff0c\u5e76\u57fa\u4e8e\u6b64\u5c01\u88c5\u4e86 dva-loading \u63d2\u4ef6\u3002\u4e0b\u9762\u901a\u8fc7\u672c\u6587\u7ed9\u5927\u5bb6\u5206\u4eabDVA\u6846\u67b6\u7edf\u4e00\u5904\u7406\u6240\u6709\u9875\u9762\u7684loading\u72b6\u6001\uff0c\u611f\u5174\u8da3\u7684\u670b\u53cb\u4e00\u8d77\u770b\u770b\u5427 dva \u6709\u4e00\u4e2a\u7ba1\u7406 effects \u6267\u884c\u7684 hook\uff0c\u5e76\u57fa\u4e8e\u6b64\u5c01\u88c5\u4e86 dva-loading \u63d2\u4ef6\u3002\u901a\u8fc7\u8fd9\u4e2a\u63d2\u4ef6\uff0c\u6211\u4eec\u53ef\u4ee5\u4e0d\u5fc5\u4e00\u904d\u904d\u5730\u5199 showLoading \u548c hideLoading\uff0c\u5f53\u53d1\u8d77\u8bf7\u6c42\u65f6\uff0c\u63d2\u4ef6\u4f1a\u81ea\u52a8\u8bbe\u7f6e\u6570\u636e\u91cc\u7684 loading \u72b6\u6001\u4e3a true \u6216 false \u3002\u7136\u540e\u6211\u4eec\u5728\u6e32\u67d3 components \u65f6\u7ed1\u5b9a\u5e76\u6839\u636e\u8fd9\u4e2a\u6570\u636e\u8fdb\u884c\u6e32\u67d3\u3002 dva-loading\u7684\u4f7f\u7528\u975e\u5e38\u7b80\u5355\uff0c\u5728index.js\u4e2d\u52a0\u5165\uff1a \/\/&nbsp;2.&nbsp;Plugins app.use(createLoading()); \u767b\u5f55\u540e\u590d\u5236 \u6bcf\u4e2a\u9875\u9762\u4e2d\u5c06loading\u72b6\u6001\u4f5c\u4e3a\u5c5e\u6027\u4f20\u5165\u7ec4\u4ef6\uff0c\u5728\u8fdb\u884c\u6837\u5f0f\u5904\u7406\uff0c\u6bd4\u5982\u8f6c\u5708\u5708\u6216\u8005\u663e\u793a\u6b63\u5728\u52a0\u8f7d\u4ec0\u4e48\u7684\uff0c\u4f46\u662f\u91cd\u70b9\u662f\uff0c\u6211\u4eec\u7684app\u6709\u591a\u4e2a\u9875\u9762\uff0c\u6bcf\u4e2a\u9875\u9762\u90fd\u8fd9\u4e48\u505a\uff0c\u5f88\u7e41\u7410\u3002 \u5982\u4f55\u53ea\u505a\u4e00\u6b21\u72b6\u6001\u5904\u7406\uff0c\u6bcf\u6b21\u8bf7\u6c42\u671f\u95f4\u90fd\u4f1a\u89e6\u53d1loading\u72b6\u6001\u5462\uff0c\u5176\u5b9e\u4e5f\u5f88\u7b80\u5355\u5566\uff0c\u56e0\u4e3adva-loading\u63d0\u4f9b\u4e86\u4e00\u4e2aglobal\u5c5e\u6027\u3002 1\u3001state\u4e2d\u7684loading\u5bf9\u8c61 loading\u5bf9\u8c61\u4e2d\u7684global\u5c5e\u6027\u8868\u793a\u7684\u5168\u5c40loading\u72b6\u6001\uff0cmodels\u91cc\u662f\u6bcf\u4e2amodel\u7684loading\u72b6\u6001 \u6240\u4ee5\u6211\u4eec\u6839\u636estate.loading.global\u6307\u793a\u5168\u5c40loading\u72b6\u6001\u3002 2\u3001\u4e00\u4e2a\u7236\u7ea7\u7ec4\u4ef6 \u6211\u4eec\u8981\u5411\u6240\u6709\u9875\u9762\u5e94\u7528\u8fd9\u4e2aloading\u72b6\u6001\uff0c\u90a3\u4e48\u6211\u4eec\u53ef\u4ee5\u5728\u6bcf\u4e2a\u9875\u9762\u4e2d\u4f7f\u7528\u4e00\u4e2a\u7236\u7ea7\u7ec4\u4ef6\u6765\u5904\u7406\u8fd9\u4e2aloading\u3002\u4e0a\u4ee3\u7801\uff1a import&nbsp;React&nbsp;from&nbsp;&#8216;react&#8217;; import&nbsp;styles&nbsp;from&nbsp;&#8216;.\/app.css&#8217;; import&nbsp;{&nbsp;connect&nbsp;}&nbsp;from&nbsp;&#8216;dva&#8217;; import&nbsp;{&nbsp;ActivityIndicator&nbsp;}&nbsp;from&nbsp;&#8216;antd-mobile&#8217;; const&nbsp;TIMER&nbsp;=&nbsp;800; let&nbsp;timeoutId&nbsp;=&nbsp;null; class&nbsp;App&nbsp;extends&nbsp;React.Component&nbsp;{ &nbsp;state&nbsp;=&nbsp;{ &nbsp;&nbsp;show:&nbsp;false &nbsp;} &nbsp;componentWillMount()&nbsp;{ &nbsp;&nbsp;const&nbsp;{&nbsp;loading&nbsp;}&nbsp;=&nbsp;this.props; &nbsp;&nbsp;if&nbsp;(loading)&nbsp;{ &nbsp;&nbsp;&nbsp;timeoutId&nbsp;=&nbsp;setTimeout(()&nbsp;=&amp;gt;&nbsp;{ &nbsp;&nbsp;&nbsp;&nbsp;this.setState({ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;show:&nbsp;true &nbsp;&nbsp;&nbsp;&nbsp;}); &nbsp;&nbsp;&nbsp;},&nbsp;TIMER); [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-32081","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/32081","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=32081"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/32081\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=32081"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=32081"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=32081"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}