{"id":33614,"date":"2024-11-25T17:22:05","date_gmt":"2024-11-25T09:22:05","guid":{"rendered":"https:\/\/fwq.ai\/blog\/33614\/"},"modified":"2024-11-25T17:22:05","modified_gmt":"2024-11-25T09:22:05","slug":"%e5%b0%8f%e7%a8%8b%e5%ba%8f%e8%8e%b7%e5%8f%96%e7%94%a8%e6%88%b7%e4%bd%8d%e7%bd%ae%e6%8e%88%e6%9d%83%e7%9a%84%e5%ae%8c%e7%be%8e%e8%ae%b2%e8%bf%b0","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/33614\/","title":{"rendered":"\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0"},"content":{"rendered":"<p><\/p>\n<h2><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/052\/5f59eeb68b903720.jpg\" class=\"aligncenter\" title=\"\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0\u63d2\u56fe\" alt=\"\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0\u63d2\u56fe\" \/><\/h2>\n<blockquote><p>\n  \u76f8\u5173\u5b66\u4e60\u63a8\u8350\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6559\u7a0b\n<\/p><\/blockquote>\n<h2>\u524d\u8a00<\/h2>\n<p>\u5c0f\u7a0b\u5e8f\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u5f88\u591a\u5730\u65b9\u9700\u8981\u7528\u6237\u7684\u6388\u6743\uff0c\u9700\u8981\u67e5\u8be2\u7528\u6237\u662f\u5426\u6388\u6743\uff0c\u6ca1\u6709\u6388\u6743\u5f15\u5bfc\u7528\u6237\u53bb\u6388\u6743\u3002\u6240\u4ee5\u6211\u5c31\u628a\u8fd9\u4e2a\u6d41\u7a0b\u505a\u4e86\u4e0b\u5c01\u88c5\uff0c\u5c0f\u53ef\u7231\u4eec\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\uff0c\u591a\u591a\u63d0\u610f\u89c1\u4e00\u8d77\u8fdb\u6b65\u3002<\/p>\n<h2>\u6d41\u7a0b\u56fe<\/h2>\n<p>\u6709\u65f6\u5019\u9879\u76ee\u7684\u5f88\u591a\u5730\u65b9\u90fd\u4f1a\u7528\u5230\u5224\u65ad\u7528\u6237\u662f\u5426\u6388\u6743\u7684\u903b\u8f91\uff0c\u6240\u4ee5\u5c01\u88c5\u662f\u975e\u5e38\u6709\u5fc5\u8981\u7684\u3002\u4e0b\u9762\u6211\u4eec\u62ff\u4f4d\u7f6e\u6388\u6743\u4f5c\u4e3a\u4f8b\u5b50\u8bf4\u4e00\u4e0b\u4e00\u822c\u7684\u6d41\u7a0b\u3002<\/p>\n<p>\u5f88\u591a\u5e94\u7528\u5728\u4e00\u8fdb\u5165\u5c31\u4f1a\u8ba9\u7528\u6237\u6388\u6743\u5730\u7406\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u62ff\u5230\u7528\u6237\u7684\u7ecf\u7eac\u5ea6\u901a\u8fc7\u8ba1\u7b97\u83b7\u53d6\u8ddd\u79bb\u7528\u6237\u7684\u8ddd\u79bb\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u6d41\u7a0b\u56fe\u3002<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/052\/b3175da3c2c27716cdf863c085366bda-0.png\" style=\"max-width:90%\" title=\"\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0\u63d2\u56fe1\" alt=\"\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0\u63d2\u56fe1\" \/> <\/p>\n<p>\u5f00\u53d1\u5148\u8981\u901a\u8fc7wx.getSettiing()\u83b7\u53d6\u7528\u6237\u7684\u5f53\u524d\u8bbe\u7f6e,\u5b98\u65b9\u6587\u6863\u3002\u5982\u679c\u62e5\u6709\u6743\u9650\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c\uff0c\u5982\u679c\u6ca1\u6709\u518d\u6b21\u8bf7\u6c42\u7528\u6237\u6253\u5f00\u6743\u9650\uff0c\u5982\u679c\u70b9\u51fb\u7528\u6237\u70b9\u51fb\u5426\uff0c\u6388\u6743\u5931\u8d25\u3002\u5982\u679c\u7528\u6237\u540c\u610f\uff0c\u8c03\u7528wx.openSetting()\u8c03\u8d77\u5ba2\u6237\u7aef\u5c0f\u7a0b\u5e8f\u8bbe\u7f6e\u754c\u9762\uff0c\u8fd4\u56de\u7528\u6237\u8bbe\u7f6e\u7684\u64cd\u4f5c\u7ed3\u679c\uff0c\u5b98\u65b9\u6587\u6863\u3002\u6253\u5f00\u8bbe\u7f6e\u9875\u9762\u540e\u5982\u679c\u7528\u6237\u6ca1\u6709\u6253\u5f00\u6388\u6743\u5c31\u8fd4\u56de\u4e86\uff0c\u4f1a\u62ff\u5230\u6388\u6743\u5931\u8d25\u7684\u7ed3\u679c\u3002\u5982\u679c\u6253\u5f00\u4e86\u6388\u6743\u8fd4\u56de\u4e4b\u524d\u7684\u9875\u9762\u5c31\u6388\u6743\u6210\u529f\u4e86\u3002<\/p>\n<p>\u8fd9\u8fb9\u8981\u6ce8\u610f\u4e00\u70b9 \u83b7\u53d6\u5730\u7406\u6388\u6743 \u8981\u5728 app.json \u6dfb\u52a0\u4e0b\u9762\u4ee3\u7801\u3002<\/p>\n<pre>\"permission\": {\n    \"scope.userLocation\": {\n      \"desc\": \"\u60a8\u7684\u4f4d\u7f6e\u4fe1\u606f\u5c06\u7528\u4e8e\u5c55\u793a\u60a8\u6240\u5728\u57ce\u5e02\u7684\u4fe1\u606f\"\n    }\n  }\u590d\u5236\u4ee3\u7801<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<h2>&nbsp;\u4e3b\u8981\u4ee3\u7801<\/h2>\n<p>\u5728utils\u6587\u4ef6\u5939\u4e0b\u65b0\u5efa auth.js \u7528\u4e8e\u6388\u6743\u64cd\u4f5c\uff0c\u7136\u540e\u5728\u4ee3\u7801\u4e2d\u5c31\u53ef\u4ee5\u76f4\u63a52\u884c\u641e\u5b9a\u62c9\uff01<\/p>\n<pre>\/**\n* \u5fae\u4fe1\u6388\u6743\n*\/\nconst authList = {\n userInfo: {\n   apiName: ['getUserInfo'],\n   authTitle: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u7528\u6237\u4fe1\u606f',\n   authContent: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u7528\u6237\u4fe1\u606f\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n userLocation: {\n   apiName: ['getLocation', 'chooseLocation'],\n   authTitle: '\u8bf7\u6c42\u6388\u6743\u5f53\u524d\u4f4d\u7f6e',\n   authContent: '\u9700\u8981\u83b7\u53d6\u60a8\u7684\u5730\u7406\u4f4d\u7f6e\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n address: {\n   apiName: ['chooseAddress'],\n   authTitle: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u901a\u8baf\u5730\u5740',\n   authContent: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u901a\u8baf\u5730\u5740\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n invoiceTitle: {\n   apiName: ['chooseInvoiceTitle'],\n   authTitle: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u53d1\u7968\u62ac\u5934',\n   authContent: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u53d1\u7968\u62ac\u5934\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n invoice: {\n   apiName: ['chooseInvoice'],\n   authTitle: '\u9700\u8981\u83b7\u53d6\u4f60\u7684\u53d1\u7968',\n   authContent: '\u9700\u8981\u83b7\u53d6\u4f60\u7684\u53d1\u7968\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n werun: {\n   apiName: ['getWeRunData'],\n   authTitle: '\u9700\u8981\u83b7\u53d6\u4f60\u7684\u5fae\u4fe1\u8fd0\u52a8\u6570\u636e',\n   authContent: '\u9700\u8981\u83b7\u53d6\u4f60\u7684\u5fae\u4fe1\u8fd0\u52a8\u6570\u636e\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n writePhotosAlbum: {\n   apiName: ['saveImageToPhotosAlbum', 'saveVideoToPhotosAlbum'],\n   authTitle: '\u8bf7\u6c42\u6388\u6743\u76f8\u518c',\n   authContent: '\u9700\u8981\u4f7f\u7528\u4f60\u7684\u76f8\u518c\uff0c\u8bf7\u786e\u8ba4\u6388\u6743'\n },\n}\n\/**\n* @description: \u8fd4\u56de\u503c\u4e2d\u53ea\u4f1a\u51fa\u73b0\u5c0f\u7a0b\u5e8f\u5df2\u7ecf\u5411\u7528\u6237\u8bf7\u6c42\u8fc7\u7684\u6743\u9650\n* @param {String} \u6743\u9650\u540d\u79f0\n* @return {Boolean} \u662f\u6709\u62e5\u6709\u6743\u9650\n*\/\nconst getWxSetting = key =&gt; {\n if (typeof key === 'string' &amp;&amp; !authList[key]) return false\n return new Promise(function (resolve) {\n   wx.getSetting({\n     success: async res =&gt; {\n       var result = res.authSetting\n       \/\/ \u7528\u6237\u62d2\u7edd\u8fc7\n       if (result[`scope.${key}`] === false) {\n         \/\/ \u5f15\u5bfc\u53bb\u6388\u6743\u9875\n         _showModal(key).then(() =&gt; {\n           resolve()\n         })\n       } else {\n         \/\/  \u5df2\u6388\u6743\uff0c\u6216\u8005\u8fd8\u672a\u6388\u6743\n         resolve()\n       }\n     }\n   })\n })\n}\n\/**\n* @description: \u5f15\u5bfc\u53bb\u6388\u6743\u8bbe\u7f6e\u9875\u9762\n* @param {String} \u6743\u9650\u540d\u79f0\n* @return {Boolean} \u662f\u6709\u62e5\u6709\u6743\u9650\n*\/\nconst _showModal = key =&gt; {\n console.log(authList[key].authContent)\n return new Promise(function (resolve) {\n   wx.showModal({\n     title: authList[key].authTitle,\n     content: authList[key].authContent,\n     success: function (res) {\n       if (res.confirm) {\n         wx.openSetting({\n           success: async dataAu =&gt; {\n             \/\/ \u5f02\u6b65\uff0c\u8fdb\u5165\u6388\u6743\u9875\u9762\u6388\u6743\u540e\u8fd4\u56de\u5224\u65ad\n             if (dataAu.authSetting[`scope.${key}`] === true) {\n               wx.showToast({\n                 title: '\u6388\u6743\u6210\u529f',\n                 icon: 'success',\n                 duration: 1000\n               })\n               resolve()\n             } else {\n               wx.showToast({\n                 title: '\u6388\u6743\u5931\u8d25',\n                 icon: 'none',\n                 duration: 1000\n               })\n             }\n           }\n         })\n         \/\/ \u7528\u6237\u70b9\u51fb\u53d6\u6d88\n       } else if (res.cancel) {\n         wx.showToast({\n           title: '\u6388\u6743\u5931\u8d25',\n           icon: 'none',\n           duration: 1000\n         })\n       }\n     }\n   })\n })\n}\n\nmodule.exports = {\n getWxSetting\n}\u590d\u5236\u4ee3\u7801<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u9875\u9762js\u5f15\u5165auth.js \u4f20\u5165,\u8c03\u7528&nbsp;getWxSetting \u65b9\u6cd5\u4f20\u5165\u5df2\u7ecf\u5728auth.js\u4e2d\u5b9a\u4e49authList \u5bf9\u5e94\u7684\u5c5e\u6027\u540d<\/p>\n<pre>\/\/index.js\n\/\/\u83b7\u53d6\u5e94\u7528\u5b9e\u4f8b\nconst app = getApp()\nconst wxApi = require('..\/..\/utils\/auth.js')\nPage({\n  data: {\n  },\n  \/\/ \u6253\u5f00\u5730\u56fe\n  openMap: function() {\n    wxApi.getWxSetting('userLocation').then(()=&gt;{\n        \/\/ \u5df2\u7ecf\u6388\u6743\u6216\u8fd8\u672a\u6388\u6743\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u63d0\u53d6\u5230\u516c\u5171\u6587\u4ef6\u4e2d\n      wx.getLocation({\n        type: 'wgs84',\n        success: res =&gt; {\n          wx.openLocation({\n            latitude: res.latitude,\n            longitude: res.longitude,\n          })\n        },\n        fail: err =&gt; {\n          wx.showToast({\n            title: '\u68c0\u67e5\u624b\u673a\u5b9a\u4f4d\u6743\u9650',\n            icon: 'none',\n            duration: 2000\n          })\n        }\n      })\n    })\n  },\n  \/\/ \u4fdd\u5b58\u5230\u76f8\u518c\n  writePhotosAlbum: function() {\n    wxApi.getWxSetting('writePhotosAlbum').then(()=&gt;{\n     \/\/ \u5df2\u7ecf\u6388\u6743\u6216\u8fd8\u672a\u6388\u6743\uff0c\u4e0b\u9762\u7684\u4ee3\u7801\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u63d0\u53d6\u5230\u516c\u5171\u6587\u4ef6\u4e2d\n      wx.downloadFile({\n        url: 'https:\/\/imgs.solui.cn\/avatar.png',\n        success: function(res) {\n            wx.saveImageToPhotosAlbum({\n                filePath: res.tempFilePath,\n                success: function(res) {\n                   wx.showToast({\n                     title: '\u4fdd\u5b58\u6210\u529f',\n                     icon:'none'\n                   })\n                },\n                fail: function(err) {\n                  wx.showToast({\n                    title: '\u4fdd\u5b58\u5931\u8d25',\n                    icon:'none'\n                  })\n                }\n            })\n        }\n      })\n    })\n  },\n  onLoad: function () {\n\n  },\n})\u590d\u5236\u4ee3\u7801<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u7136\u540e\u5c31\u53ef\u4ee5\u8fdb\u884c\u6388\u6743\u540e\u7684\u64cd\u4f5c\u4e86\uff0c\u8fd9\u91cc\u7684&nbsp; wx.getLocation \u4e5f\u53ef\u4ee5\u63d0\u53d6\u516c\u5171\u6587\u4ef6\uff0c\u8fd9\u91cc\u5c31\u4e0d\u518d\u8d58\u8ff0\u4e86\u3002<\/p>\n<blockquote>\n<p>\u60f3\u4e86\u89e3\u66f4\u591a\u7f16\u7a0b\u5b66\u4e60\uff0c\u656c\u8bf7\u5173\u6ce8\u680f\u76ee\uff01<\/p>\n<\/blockquote>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5c0f\u7a0b\u5e8f\u83b7\u53d6\u7528\u6237\u4f4d\u7f6e\u6388\u6743\u7684\u5b8c\u7f8e\u8bb2\u8ff0\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>\u76f8\u5173\u5b66\u4e60\u63a8\u8350\uff1a\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u6559\u7a0b \u524d\u8a00 \u5c0f\u7a0b\u5e8f\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u5f88\u591a\u5730\u65b9\u9700\u8981\u7528\u6237\u7684\u6388\u6743\uff0c\u9700\u8981\u67e5\u8be2\u7528\u6237\u662f\u5426\u6388\u6743\uff0c\u6ca1\u6709\u6388\u6743\u5f15\u5bfc\u7528\u6237\u53bb\u6388\u6743\u3002\u6240\u4ee5\u6211\u5c31\u628a\u8fd9\u4e2a\u6d41\u7a0b\u505a\u4e86\u4e0b\u5c01\u88c5\uff0c\u5c0f\u53ef\u7231\u4eec\u53ef\u4ee5\u53c2\u8003\u4e00\u4e0b\uff0c\u591a\u591a\u63d0\u610f\u89c1\u4e00\u8d77\u8fdb\u6b65\u3002 \u6d41\u7a0b\u56fe \u6709\u65f6\u5019\u9879\u76ee\u7684\u5f88\u591a\u5730\u65b9\u90fd\u4f1a\u7528\u5230\u5224\u65ad\u7528\u6237\u662f\u5426\u6388\u6743\u7684\u903b\u8f91\uff0c\u6240\u4ee5\u5c01\u88c5\u662f\u975e\u5e38\u6709\u5fc5\u8981\u7684\u3002\u4e0b\u9762\u6211\u4eec\u62ff\u4f4d\u7f6e\u6388\u6743\u4f5c\u4e3a\u4f8b\u5b50\u8bf4\u4e00\u4e0b\u4e00\u822c\u7684\u6d41\u7a0b\u3002 \u5f88\u591a\u5e94\u7528\u5728\u4e00\u8fdb\u5165\u5c31\u4f1a\u8ba9\u7528\u6237\u6388\u6743\u5730\u7406\u4f4d\u7f6e\uff0c\u53ef\u4ee5\u62ff\u5230\u7528\u6237\u7684\u7ecf\u7eac\u5ea6\u901a\u8fc7\u8ba1\u7b97\u83b7\u53d6\u8ddd\u79bb\u7528\u6237\u7684\u8ddd\u79bb\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u6d41\u7a0b\u56fe\u3002 \u5f00\u53d1\u5148\u8981\u901a\u8fc7wx.getSettiing()\u83b7\u53d6\u7528\u6237\u7684\u5f53\u524d\u8bbe\u7f6e,\u5b98\u65b9\u6587\u6863\u3002\u5982\u679c\u62e5\u6709\u6743\u9650\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c\uff0c\u5982\u679c\u6ca1\u6709\u518d\u6b21\u8bf7\u6c42\u7528\u6237\u6253\u5f00\u6743\u9650\uff0c\u5982\u679c\u70b9\u51fb\u7528\u6237\u70b9\u51fb\u5426\uff0c\u6388\u6743\u5931\u8d25\u3002\u5982\u679c\u7528\u6237\u540c\u610f\uff0c\u8c03\u7528wx.openSetting()\u8c03\u8d77\u5ba2\u6237\u7aef\u5c0f\u7a0b\u5e8f\u8bbe\u7f6e\u754c\u9762\uff0c\u8fd4\u56de\u7528\u6237\u8bbe\u7f6e\u7684\u64cd\u4f5c\u7ed3\u679c\uff0c\u5b98\u65b9\u6587\u6863\u3002\u6253\u5f00\u8bbe\u7f6e\u9875\u9762\u540e\u5982\u679c\u7528\u6237\u6ca1\u6709\u6253\u5f00\u6388\u6743\u5c31\u8fd4\u56de\u4e86\uff0c\u4f1a\u62ff\u5230\u6388\u6743\u5931\u8d25\u7684\u7ed3\u679c\u3002\u5982\u679c\u6253\u5f00\u4e86\u6388\u6743\u8fd4\u56de\u4e4b\u524d\u7684\u9875\u9762\u5c31\u6388\u6743\u6210\u529f\u4e86\u3002 \u8fd9\u8fb9\u8981\u6ce8\u610f\u4e00\u70b9 \u83b7\u53d6\u5730\u7406\u6388\u6743 \u8981\u5728 app.json \u6dfb\u52a0\u4e0b\u9762\u4ee3\u7801\u3002 &#8220;permission&#8221;: { &#8220;scope.userLocation&#8221;: { &#8220;desc&#8221;: &#8220;\u60a8\u7684\u4f4d\u7f6e\u4fe1\u606f\u5c06\u7528\u4e8e\u5c55\u793a\u60a8\u6240\u5728\u57ce\u5e02\u7684\u4fe1\u606f&#8221; } }\u590d\u5236\u4ee3\u7801 \u767b\u5f55\u540e\u590d\u5236 &nbsp;\u4e3b\u8981\u4ee3\u7801 \u5728utils\u6587\u4ef6\u5939\u4e0b\u65b0\u5efa auth.js \u7528\u4e8e\u6388\u6743\u64cd\u4f5c\uff0c\u7136\u540e\u5728\u4ee3\u7801\u4e2d\u5c31\u53ef\u4ee5\u76f4\u63a52\u884c\u641e\u5b9a\u62c9\uff01 \/** * \u5fae\u4fe1\u6388\u6743 *\/ const authList = { userInfo: { apiName: [&#8216;getUserInfo&#8217;], authTitle: &#8216;\u9700\u8981\u4f7f\u7528\u4f60\u7684\u7528\u6237\u4fe1\u606f&#8217;, authContent: &#8216;\u9700\u8981\u4f7f\u7528\u4f60\u7684\u7528\u6237\u4fe1\u606f\uff0c\u8bf7\u786e\u8ba4\u6388\u6743&#8217; }, userLocation: { apiName: [&#8216;getLocation&#8217;, &#8216;chooseLocation&#8217;], authTitle: &#8216;\u8bf7\u6c42\u6388\u6743\u5f53\u524d\u4f4d\u7f6e&#8217;, authContent: &#8216;\u9700\u8981\u83b7\u53d6\u60a8\u7684\u5730\u7406\u4f4d\u7f6e\uff0c\u8bf7\u786e\u8ba4\u6388\u6743&#8217; }, address: { apiName: [&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-33614","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/33614","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=33614"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/33614\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=33614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=33614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=33614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}