{"id":34104,"date":"2024-11-25T13:56:28","date_gmt":"2024-11-25T05:56:28","guid":{"rendered":"https:\/\/fwq.ai\/blog\/34104\/"},"modified":"2024-11-25T13:56:28","modified_gmt":"2024-11-25T05:56:28","slug":"%e6%89%8b%e6%8a%8a%e6%89%8b%e6%95%99%e4%bd%a0%e5%9c%a8%e5%be%ae%e4%bf%a1%e5%b0%8f%e7%a8%8b%e5%ba%8f%e4%b8%ad%e4%bd%bf%e7%94%a8canvaspainter%e6%8f%92%e4%bb%b6%e5%88%b6%e4%bd%9c%e4%ba%8c%e7%bb%b4","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/34104\/","title":{"rendered":"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801"},"content":{"rendered":"<p>\u672c\u7bc7\u6587\u7ae0\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e00\u4e0b\u5728\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u7684\u65b9\u6cd5\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/6183487d80f38137.jpg\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe\" \/><\/p>\n<p>\u5728\u65e5\u5e38\u7684\u5c0f\u7a0b\u5e8f\u9879\u76ee\u4e2d\uff0c\u4f1a\u7ecf\u5e38\u9047\u5230\u9700\u8981\u52a8\u6001\u7ed8\u5236\u4e8c\u7ef4\u7801\u7684\u9700\u6c42\u3002\u4f7f\u7528\u573a\u666f\u5f88\u591a\uff0c\u4f8b\u5982\u7ed8\u5236\u5728\u6d77\u62a5\u4e0a\uff0c\u4f8b\u5982\u5236\u4f5c\u7968\u52a1\u7801\u3001\u6838\u9500\u7801\u7b49\u7b49\u3002<br \/> \u8fd9\u7bc7\u6587\u7ae0\u662f\u5e94\u4e00\u4f4d\u597d\u53cb\u7684\u9700\u6c42\u800c\u5199\u7684\uff0c\u4e5f\u5e0c\u671b\u80fd\u591f\u7ed9\u6709\u9700\u8981\u7684\u540c\u5b66\u4e00\u4e9b\u5e2e\u52a9\u3002<\/p>\n<h2><strong>\u4e00\u3001\u5b9e\u73b0\u539f\u7406<\/strong><\/h2>\n<p>\u4f7f\u7528\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684canvas\u7ec4\u4ef6\u8fdb\u884c\u7ed8\u5236\uff0c\u4f46\u662f\u5728\u8be5\u7ec4\u4ef6\u7528\u8d77\u6765\u5e76\u4e0d\u662f\u5f88\u987a\u624b\uff0c\u6240\u4ee5\u4f7f\u7528\u4e86\u7b2c\u4e09\u65b9\u7684\u6846\u67b6\uff1aPainter<\/p>\n<p>Painter\u7684Github\u5730\u5740\uff1ahttps:\/\/github.com\/Kujiale-Mobile\/Painter<\/p>\n<p>\u7528\u4f60\u7684\u65b9\u6cd5\uff0c\u628a\u8fd9\u4e2a\u6846\u67b6\u4e0b\u8f7d\u4e0b\u6765\uff0c\u91cc\u9762\u4f1a\u6709\u793a\u8303\u4ee3\u7801\uff0c\u6211\u4eec\u53ea\u9700\u8981\u628a\u5176\u4e2d\u7684\u6838\u5fc3\u4ee3\u7801\u62ff\u51fa\u6765\u5c31\u884c\u3002<\/p>\n<p>\u5bf9\u4e8e\u6846\u67b6\u7684\u4f7f\u7528\u4ecb\u7ecd\uff0c\u5927\u5bb6\u53ef\u4ee5\u524d\u5f80github\u6d4f\u89c8\uff0c\u6211\u8fd9\u5c31\u76f4\u63a5\u4e0a\u624b\u4e86\u3002\u3010\u76f8\u5173\u5b66\u4e60\u63a8\u8350\uff1a\u3011<\/p>\n<h2><strong>\u4e8c\u3001\u5b9e\u73b0\u4ee3\u7801<\/strong><\/h2>\n<p><span style=\"font-size: 18px\"><strong>\u524d\u671f\u51c6\u5907<\/strong><\/span><\/p>\n<p>1\u3001\u65b0\u5efacomponents\u6587\u4ef6\u5939\uff0c\u653e\u7f6epainter\u6838\u5fc3\u4ee3\u7801<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/e234f033607cdc0b62d36afba929fa72-0.png\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe1\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe1\" \/><\/p>\n<p>2\u3001\u65b0\u5efapalette\u6587\u4ef6\u5939\uff0c\u653e\u7f6e\u7ed8\u5236\u5b9e\u73b0\u4ee3\u7801<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/e234f033607cdc0b62d36afba929fa72-1.png\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe2\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe2\" \/><br \/>painter.js\u4ee3\u7801<\/p>\n<pre>export default class LastMayday {\n  palette(viewList) {\n    return (\n      viewList\n    );\n  }\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>3\u3001\u65b0\u5efa\u7ed8\u5236\u7684\u5177\u4f53\u5c5e\u6027\u4fe1\u606f\u6587\u4ef6\u5939posterViewjs\uff0c\u653e\u7f6e\u4f8b\u5982\u7ed8\u5236\u7684\u5927\u5c0f\u3001\u4f4d\u7f6e\u7b49\u4fe1\u606fjs\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/fefcd45b6785d77744fa15da4e1c113e-2.png\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe3\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe3\" \/><\/p>\n<p>\u4e8c\u7ef4\u7801\u7ed8\u5236\u5c5e\u6027\u4fe1\u606fjs\u4ee3\u7801<\/p>\n<pre>const getPosterView01 = (qrcodeText) =&gt; {\n  const poster01 = {\n    \"width\": \"256px\",\n    \"height\": \"256px\",\n    \"background\": \"#f8f8f8\",\n    \"views\": [{\n      \"type\": \"qrcode\",\n      \"content\": qrcodeText,\n      \"css\": {\n        \"color\": \"#000000\",\n        \"background\": \"#ffffff\",\n        \"width\": \"256px\",\n        \"height\": \"256px\",\n        \"top\": \"0px\",\n        \"left\": \"0px\",\n        \"rotate\": \"0\",\n        \"borderRadius\": \"0px\"\n      }\n    }]\n  }\n  return poster01\n}\n\nmodule.exports = {\n  getPosterView01: getPosterView01\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><span style=\"font-size: 18px\"><strong>\u5b9e\u73b0<\/strong><\/span><\/p>\n<p><strong>\u5b9e\u73b0\u9875\u9762\u76ee\u5f55\u7ed3\u6784<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/fefcd45b6785d77744fa15da4e1c113e-3.png\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe4\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe4\" \/><\/p>\n<p><strong>wxml\u4ee3\u7801<\/strong><\/p>\n<pre>&lt;view class=\"flex-jc-ac-col\" style=\"margin-top: 200rpx;\"&gt;\n  &lt;image class=\"qrcode-img\" src=\"{{imgUrl?imgUrl:''}}\" mode=\"widthFix\"&gt;&lt;\/image&gt;\n  &lt;button type=\"primary\" style=\"margin-top: 105rpx;\" bindtap=\"makeQRCodeTap\"&gt;\u751f\u6210\u4e8c\u7ef4\u7801&lt;\/button&gt;\n&lt;\/view&gt;\n\n&lt;!-- canvas\u9690\u85cf --&gt;\n&lt;painter customStyle='position: absolute; left: -9999rpx;' customActionStyle=\"{{customActionStyle}}\"\n  dancePalette=\"{{template}}\" palette=\"{{paintPallette}}\" bind:imgOK=\"onImgOK\" bind:touchEnd=\"touchEnd\"\n  action=\"{{action}}\" use2D=\"{{true}}\" widthPixels=\"720\" \/&gt;\n&lt;!-- canvas\u9690\u85cf --&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>wxss\u4ee3\u7801<\/strong><\/p>\n<pre>.qrcode-img{\n  background-color: #999999;\n  height: 300rpx;\n  width: 300rpx;\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>json\u4ee3\u7801<\/strong><\/p>\n<p>\u6ce8\u610f\u8bb0\u5f97\u5728\u4f7f\u7528\u7684\u9875\u9762\u5f15\u7528painter\u7ec4\u4ef6<\/p>\n<pre>{\n  \"usingComponents\": {\n    \"painter\":\"\/components\/painter\/painter\"\n  },\n  \"navigationBarTitleText\": \"\u7ed8\u5236\u4e8c\u7ef4\u7801\"\n}<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>JS\u4ee3\u7801<\/strong><\/p>\n<pre>\/\/ pages\/makeQRCode\/makeQRCode.js\nimport poster from '..\/..\/palette\/painter'\nconst posterView = require(\"..\/..\/posterViewjs\/posterView\")\nPage({\n\n  \/**\n   * \u9875\u9762\u7684\u521d\u59cb\u6570\u636e\n   *\/\n  data: {\n    imgUrl: null,\n    QRCodeText: \"2d44d6c26134f8a109df65897107089a2d44d6c26134f8a109df65897107089a\",\n    paintPallette: '',\n  },\n\n  \/**\n   * \u751f\u547d\u5468\u671f\u51fd\u6570--\u76d1\u542c\u9875\u9762\u52a0\u8f7d\n   *\/\n  onLoad() {\n\n  },\n\n  \/**\n   * \u751f\u547d\u5468\u671f\u51fd\u6570--\u76d1\u542c\u9875\u9762\u663e\u793a\n   *\/\n  onShow () {\n\n  },\n\n  \/** \u751f\u6210\u6d77\u62a5\u70b9\u51fb\u76d1\u542c *\/\n  makeQRCodeTap() {\n    wx.showLoading({\n      title: '\u83b7\u53d6\u6d77\u62a5\u4e2d',\n      mask: true\n    })\n    \/\/ \u7ed8\u5236\u6d77\u62a5\n    this.makePoster(this.data.QRCodeText)\n  },\n\n  \/** \u7ed8\u5236\u5b8c\u6210\u540e\u7684\u56de\u8c03\u51fd\u6570*\/\n  onImgOK(res) {\n    wx.hideLoading()\n    \/\/ \u8fd9\u4e2a\u8def\u5f84\u5c31\u53ef\u4ee5\u4f5c\u4e3a\u4fdd\u5b58\u56fe\u7247\u65f6\u7684\u8d44\u6e90\u8def\u5f84\n    \/\/ console.log(\"\u6d77\u62a5\u4e34\u65f6\u8def\u5f84\", res.detail.path)\n    this.setData({\n      imgUrl: res.detail.path\n    })\n  },\n\n  \/** \u751f\u6210\u6d77\u62a5 *\/\n  makePoster(qrcodeText) {\n    wx.showLoading({\n      title: '\u751f\u6210\u6d77\u62a5\u4e2d',\n    })\n    \/\/ \u8fd9\u662f\u7ed8\u5236\u6d77\u62a5\u6240\u7528\u5230JSON\u6570\u636e\n    const viewList = posterView.getPosterView01(qrcodeText)\n    this.setData({\n      paintPallette: new poster().palette(viewList)\n    })\n  },\n\n\n\n  \/**\n   * \u7528\u6237\u70b9\u51fb\u53f3\u4e0a\u89d2\u5206\u4eab\n   *\/\n  onShareAppMessage() {}\n})<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p><strong>\u5b9e\u73b0\u6548\u679c<\/strong><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/img.php.cn\/upload\/article\/000\/000\/024\/9961214d361a9cb93689f47801f65abb-4.png\" class=\"aligncenter\" title=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe5\" alt=\"\u624b\u628a\u624b\u6559\u4f60\u5728\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u63d2\u56fe5\" \/><\/p>\n<h2><strong>\u4e09\u3001\u7ed3\u8bed<\/strong><\/h2>\n<p>\u5b9e\u9645\u5f00\u53d1\u4e2d\u7684\u5176\u4ed6\u903b\u8f91\u5c31\u4e0d\u5199\u4e86\u3002\u9700\u8981\u540c\u5b66\u4eec\u81ea\u5df1\u53bb\u8003\u8651\u5f02\u5e38\u60c5\u51b5\u5904\u7406\u7b49\u95ee\u9898\u5566\u3002<\/p>\n<p>\u4ee5\u4e0a\u5747\u662f\u672c\u4eba\u5f00\u53d1\u8fc7\u7a0b\u4e2d\u7684\u4e00\u4e9b\u7ecf\u9a8c\u603b\u7ed3\u4e0e\u9886\u609f\uff0c\u5982\u679c\u6709\u4ec0\u4e48\u4e0d\u6b63\u786e\u7684\u5730\u65b9\uff0c\u5e0c\u671b\u5927\u4f6c\u4eec\u8bc4\u8bba\u533a\u65a7\u6b63\u3002<\/p>\n<blockquote><p>\n  \u672c\u6587\u8f6c\u8f7d\u81ea\uff1ahttps:\/\/blog.csdn.net\/weixin_44702572\/article\/details\/120443998\u4f5c\u8005\uff1asuper&#8211;Yang\n<\/p><\/blockquote>\n<p>\u66f4\u591a\u7f16\u7a0b\u76f8\u5173\u77e5\u8bc6\uff0c\u8bf7\u8bbf\u95ee\uff1a\uff01\uff01<\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u624b\u628a\u624b\u6559\u4f60\u5728\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+Painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\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>\u672c\u7bc7\u6587\u7ae0\u7ed9\u5927\u5bb6\u4ecb\u7ecd\u4e00\u4e0b\u5728\u5c0f\u7a0b\u5e8f\u4e2d\u4f7f\u7528canvas+painter\u63d2\u4ef6\u5236\u4f5c\u4e8c\u7ef4\u7801\u7684\u65b9\u6cd5\uff0c\u5e0c\u671b\u5bf9\u5927\u5bb6\u6709\u6240\u5e2e\u52a9\uff01 \u5728\u65e5\u5e38\u7684\u5c0f\u7a0b\u5e8f\u9879\u76ee\u4e2d\uff0c\u4f1a\u7ecf\u5e38\u9047\u5230\u9700\u8981\u52a8\u6001\u7ed8\u5236\u4e8c\u7ef4\u7801\u7684\u9700\u6c42\u3002\u4f7f\u7528\u573a\u666f\u5f88\u591a\uff0c\u4f8b\u5982\u7ed8\u5236\u5728\u6d77\u62a5\u4e0a\uff0c\u4f8b\u5982\u5236\u4f5c\u7968\u52a1\u7801\u3001\u6838\u9500\u7801\u7b49\u7b49\u3002 \u8fd9\u7bc7\u6587\u7ae0\u662f\u5e94\u4e00\u4f4d\u597d\u53cb\u7684\u9700\u6c42\u800c\u5199\u7684\uff0c\u4e5f\u5e0c\u671b\u80fd\u591f\u7ed9\u6709\u9700\u8981\u7684\u540c\u5b66\u4e00\u4e9b\u5e2e\u52a9\u3002 \u4e00\u3001\u5b9e\u73b0\u539f\u7406 \u4f7f\u7528\u5fae\u4fe1\u5c0f\u7a0b\u5e8f\u7684canvas\u7ec4\u4ef6\u8fdb\u884c\u7ed8\u5236\uff0c\u4f46\u662f\u5728\u8be5\u7ec4\u4ef6\u7528\u8d77\u6765\u5e76\u4e0d\u662f\u5f88\u987a\u624b\uff0c\u6240\u4ee5\u4f7f\u7528\u4e86\u7b2c\u4e09\u65b9\u7684\u6846\u67b6\uff1aPainter Painter\u7684Github\u5730\u5740\uff1ahttps:\/\/github.com\/Kujiale-Mobile\/Painter \u7528\u4f60\u7684\u65b9\u6cd5\uff0c\u628a\u8fd9\u4e2a\u6846\u67b6\u4e0b\u8f7d\u4e0b\u6765\uff0c\u91cc\u9762\u4f1a\u6709\u793a\u8303\u4ee3\u7801\uff0c\u6211\u4eec\u53ea\u9700\u8981\u628a\u5176\u4e2d\u7684\u6838\u5fc3\u4ee3\u7801\u62ff\u51fa\u6765\u5c31\u884c\u3002 \u5bf9\u4e8e\u6846\u67b6\u7684\u4f7f\u7528\u4ecb\u7ecd\uff0c\u5927\u5bb6\u53ef\u4ee5\u524d\u5f80github\u6d4f\u89c8\uff0c\u6211\u8fd9\u5c31\u76f4\u63a5\u4e0a\u624b\u4e86\u3002\u3010\u76f8\u5173\u5b66\u4e60\u63a8\u8350\uff1a\u3011 \u4e8c\u3001\u5b9e\u73b0\u4ee3\u7801 \u524d\u671f\u51c6\u5907 1\u3001\u65b0\u5efacomponents\u6587\u4ef6\u5939\uff0c\u653e\u7f6epainter\u6838\u5fc3\u4ee3\u7801 2\u3001\u65b0\u5efapalette\u6587\u4ef6\u5939\uff0c\u653e\u7f6e\u7ed8\u5236\u5b9e\u73b0\u4ee3\u7801 painter.js\u4ee3\u7801 export default class LastMayday { palette(viewList) { return ( viewList ); } } \u767b\u5f55\u540e\u590d\u5236 3\u3001\u65b0\u5efa\u7ed8\u5236\u7684\u5177\u4f53\u5c5e\u6027\u4fe1\u606f\u6587\u4ef6\u5939posterViewjs\uff0c\u653e\u7f6e\u4f8b\u5982\u7ed8\u5236\u7684\u5927\u5c0f\u3001\u4f4d\u7f6e\u7b49\u4fe1\u606fjs\u3002 \u4e8c\u7ef4\u7801\u7ed8\u5236\u5c5e\u6027\u4fe1\u606fjs\u4ee3\u7801 const getPosterView01 = (qrcodeText) =&gt; { const poster01 = { &#8220;width&#8221;: &#8220;256px&#8221;, &#8220;height&#8221;: &#8220;256px&#8221;, &#8220;background&#8221;: &#8220;#f8f8f8&#8221;, &#8220;views&#8221;: [{ &#8220;type&#8221;: &#8220;qrcode&#8221;, &#8220;content&#8221;: qrcodeText, &#8220;css&#8221;: { &#8220;color&#8221;: &#8220;#000000&#8221;, [&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-34104","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/34104","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=34104"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/34104\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=34104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=34104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=34104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}