{"id":28496,"date":"2024-11-25T08:25:08","date_gmt":"2024-11-25T00:25:08","guid":{"rendered":"https:\/\/fwq.ai\/blog\/28496\/"},"modified":"2024-11-25T08:25:08","modified_gmt":"2024-11-25T00:25:08","slug":"%e5%be%ae%e4%bf%a1%e5%85%ac%e4%bc%97%e5%8f%b7%e5%ae%9e%e7%8e%b0%e7%94%a8%e6%88%b7%e7%ae%a1%e7%90%86%e5%8a%9f%e8%83%bd","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/28496\/","title":{"rendered":"\u5fae\u4fe1\u516c\u4f17\u53f7\u5b9e\u73b0\u7528\u6237\u7ba1\u7406\u529f\u80fd"},"content":{"rendered":"<h2>1\u3001\u8bbe\u7f6e\u7528\u6237\u5907\u6ce8\u540d<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/updateremark?access_token=access_token<\/p>\n<p>updateremark.php<\/p>\n<pre>&lt;?php require_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"openid\":\"o4WmZ0h-4huBUVQUczx2ezaxIL9c\",\r\n    \"remark\":\"Jhon\"\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/updateremark?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\"errcode\":0,\"errmsg\":\"ok\"}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>2\u3001\u83b7\u53d6\u7528\u6237\u57fa\u672c\u4fe1\u606f<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/info?access_token=ACCESS_TOKEN&amp;openid=OPENID&amp;lang=zh_CN<\/p>\n<p>userInfp.php<\/p>\n<pre>&lt;?php require_once(\"..\/Utils.php\");\r\n$openId = \"o4WmZ0h-4huBUVQUczx2ezaxIL9c\";\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/user\/info?access_token=\"\r\n    .Utils::get_access_token().\"&amp;openid=\".$openId.\"&amp;lang=zh_CN \";\r\n$result = Utils::https_request($url);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"subscribe\":&nbsp;1,\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"openid\":&nbsp;\"o4WmZ0h-4huBUVQUczx2ezaxIL9c\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"nickname\":&nbsp;\"Promise\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"sex\":&nbsp;1,\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"language\":&nbsp;\"zh_CN\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"city\":&nbsp;\"\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"province\":&nbsp;\"\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"country\":&nbsp;\"\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"headimgurl\":&nbsp;\"http:\/\/wx.qlogo.cn\/mmopen\/Vq7PMkMOaMYgtQNJBrdesiantXGgGkliaoI3StUtnG5DUA1oYaeTlOdjicYHu9EkMvLY2gXf7rHBzGNiaPoDyvmZ0ONEGm7PfGBb\/0\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"subscribe_time\":&nbsp;1504708412,\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"remark\":&nbsp;\"Jhon\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"groupid\":&nbsp;0,\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"tagid_list\":&nbsp;[]\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>3\u3001\u6279\u91cf\u83b7\u53d6\u7528\u6237\u6d88\u606f<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/batchget?access_token=ACCESS_TOKEN<\/p>\n<p>batchget.php<\/p>\n<pre>&lt;?php require_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"user_list\": [\r\n       {\r\n           \"openid\": \"o4WmZ0h-4huBUVQUczx2ezaxIL9c\",\r\n           \"lang\": \"zh_CN\"\r\n       }\r\n   ]\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/batchget?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"user_info_list\":&nbsp;[\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"subscribe\":&nbsp;1,\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"openid\":&nbsp;\"o4WmZ0h-4huBUVQUczx2ezaxIL9c\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"nickname\":&nbsp;\"Promise\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"sex\":&nbsp;1,\r\n&nbsp;&nbsp;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nbsp;]\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>4\u3001\u521b\u5efa\u6807\u7b7e<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/create?access_token=ACCESS_TOKEN<\/p>\n<p>tags_create.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"tag\" : {\r\n        \"name\" : \"\u670b\u53cb\"\r\n  }\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/create?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"tag\":&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"id\":&nbsp;101,\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"name\":&nbsp;\"\u670b\u53cb\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;}\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>5\u3001\u83b7\u53d6\u4ee5\u521b\u5efa\u6807\u7b7e<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/get?access_token=ACCESS_TOKEN<\/p>\n<p>tags_get.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/get?access_token=\"\r\n    .Utils::get_access_token();\r\n$result = Utils::https_request($url);\r\necho $result;<\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r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"name\":&nbsp;\"\u670b\u53cb\",\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"count\":&nbsp;0\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}\r\n&nbsp;&nbsp;&nbsp;&nbsp;]\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>6\u3001\u7f16\u8f91\u6807\u7b7e<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/update?access_token=ACCESS_TOKEN<\/p>\n<p>tags_update.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"tag\" : {\r\n        \"id\" : 101,\r\n    \"name\" : \"\u597d\u670b\u53cb\"\r\n  }\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/update?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\"errcode\":0,\"errmsg\":\"ok\"}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>7\u3001\u5220\u9664\u6807\u7b7e<\/h2>\n<p>\u5f53\u67d0\u4e2a\u6807\u7b7e\u4e0b\u7684\u7c89\u4e1d\u8d85\u8fc710w\u65f6\uff0c\u540e\u53f0\u4e0d\u53ef\u76f4\u63a5\u5220\u9664\u6807\u7b7e\u3002\u6b64\u65f6\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5bf9\u8be5\u6807\u7b7e\u4e0b\u7684openid\u5217\u8868\uff0c\u5148\u8fdb\u884c\u53d6\u6d88\u6807\u7b7e\u7684\u64cd\u4f5c\uff0c\u76f4\u5230\u7c89\u4e1d\u6570\u4e0d\u8d85\u8fc710w\u540e\uff0c\u624d\u53ef\u76f4\u63a5\u5220\u9664\u8be5\u6807\u7b7e\u3002<\/p>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/delete?access_token=ACCESS_TOKEN<\/p>\n<p>tags_delete.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"tag\" : {\r\n        \"id\" : 101\r\n    }\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/delete?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\"errcode\":0,\"errmsg\":\"ok\"}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>8\u3001\u6279\u91cf\u4e3a\u7528\u6237\u6253\u6807\u7b7e<\/h2>\n<p>\u6807\u7b7e\u529f\u80fd\u76ee\u524d\u652f\u6301\u516c\u4f17\u53f7\u4e3a\u7528\u6237\u6253\u4e0a\u6700\u591a20\u4e2a\u6807\u7b7e\u3002<\/p>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/members\/batchtagging?access_token=ACCESS_TOKEN<\/p>\n<p>tags_batchtagging.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"openid_list\" : [\r\n        \"o4WmZ0h-4huBUVQUczx2ezaxIL9c\"\r\n    ],\r\n  \"tagid\" : 100\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/members\/batchtagging?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\u7ed3\u679c\uff1a<\/p>\n<pre>{\"errcode\":0,\"errmsg\":\"ok\"}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>9\u3001\u83b7\u53d6\u6807\u7b7e\u4e0b\u7c89\u4e1d\u5217\u8868<\/h2>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/tag\/get?access_token=ACCESS_TOKEN<\/p>\n<p>&nbsp;&#8220;next_openid&#8221;:&#8221;&#8221;\/\/\u7b2c\u4e00\u4e2a\u62c9\u53d6\u7684OPENID\uff0c\u4e0d\u586b\u9ed8\u8ba4\u4ece\u5934\u5f00\u59cb\u62c9\u53d6<\/p>\n<p>tags_get_user.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n  \"tagid\" : 100,\r\n  \"next_openid\":\"\"\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/user\/tag\/get?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"count\":&nbsp;1,\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"data\":&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"openid\":&nbsp;[\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\"o4WmZ0h-4huBUVQUczx2ezaxIL9c\"\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]\r\n&nbsp;&nbsp;&nbsp;&nbsp;},\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"next_openid\":&nbsp;\"o4WmZ0h-4huBUVQUczx2ezaxIL9c\"\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<h2>10\u3001\u83b7\u53d6\u7528\u6237\u8eab\u4e0a\u7684\u6807\u7b7e\u5217\u8868<\/h2>\n<p>\u63a5\u53e3;https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/getidlist?access_token=ACCESS_TOKEN<\/p>\n<p>tags_getidlist.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n  \"openid\" : \"o4WmZ0h-4huBUVQUczx2ezaxIL9c\"\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/getidlist?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\r\n&nbsp;&nbsp;&nbsp;&nbsp;\"tagid_list\":&nbsp;[\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;100\r\n&nbsp;&nbsp;&nbsp;&nbsp;]\r\n}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>11\u3001\u6279\u91cf\u4e3a\u7528\u6237\u53d6\u6d88\u6807\u7b7e<\/p>\n<p>\u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/tags\/members\/batchuntagging?access_token=ACCESS_TOKEN<\/p>\n<p>tags_batchuntagging.php<\/p>\n<pre>&lt;?php @header(&#039;Content-type: text\/plain;charset=UTF-8&#039;);\r\nrequire_once(\"..\/Utils.php\");\r\n$data = &#039;{\r\n    \"openid_list\" : [\r\n        \"o4WmZ0h-4huBUVQUczx2ezaxIL9c\"\r\n    ],\r\n  \"tagid\" : 100\r\n}&#039;;\r\n$url = \"https:\/\/api.weixin.qq.com\/cgi-bin\/tags\/members\/batchuntagging?\"\r\n    .\"access_token=\".Utils::get_access_token();\r\n$result = Utils::https_request($url, $data);\r\necho $result;<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u8fd4\u56de\uff1a<\/p>\n<pre>{\"errcode\":0,\"errmsg\":\"ok\"}<\/pre>\n<p>  \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236    \u767b\u5f55\u540e\u590d\u5236   <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5fae\u4fe1\u516c\u4f17\u53f7\u5b9e\u73b0\u7528\u6237\u7ba1\u7406\u529f\u80fd\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>1\u3001\u8bbe\u7f6e\u7528\u6237\u5907\u6ce8\u540d \u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/updateremark?access_token=access_token updateremark.php &lt;?php require_once(&#8220;..\/Utils.php&#8221;); $data = &#039;{ &#8220;openid&#8221;:&#8221;o4WmZ0h-4huBUVQUczx2ezaxIL9c&#8221;, &#8220;remark&#8221;:&#8221;Jhon&#8221; }&#039;; $url = &#8220;https:\/\/api.weixin.qq.com\/cgi-bin\/user\/info\/updateremark?&#8221; .&#8221;access_token=&#8221;.Utils::get_access_token(); $result = Utils::https_request($url, $data); echo $result; \u767b\u5f55\u540e\u590d\u5236 \u8fd4\u56de\uff1a {&#8220;errcode&#8221;:0,&#8221;errmsg&#8221;:&#8221;ok&#8221;} \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 \u767b\u5f55\u540e\u590d\u5236 2\u3001\u83b7\u53d6\u7528\u6237\u57fa\u672c\u4fe1\u606f \u63a5\u53e3\uff1ahttps:\/\/api.weixin.qq.com\/cgi-bin\/user\/info?access_token=ACCESS_TOKEN&amp;openid=OPENID&amp;lang=zh_CN userInfp.php &lt;?php require_once(&#8220;..\/Utils.php&#8221;); $openId = &#8220;o4WmZ0h-4huBUVQUczx2ezaxIL9c&#8221;; $url = &#8220;https:\/\/api.weixin.qq.com\/cgi-bin\/user\/info?access_token=&#8221; .Utils::get_access_token().&#8221;&amp;openid=&#8221;.$openId.&#8221;&amp;lang=zh_CN &#8220;; $result = Utils::https_request($url); echo $result; \u767b\u5f55\u540e\u590d\u5236 \u8fd4\u56de\uff1a { &nbsp;&nbsp;&nbsp;&nbsp;&#8220;subscribe&#8221;:&nbsp;1, &nbsp;&nbsp;&nbsp;&nbsp;&#8220;openid&#8221;:&nbsp;&#8220;o4WmZ0h-4huBUVQUczx2ezaxIL9c&#8221;, &nbsp;&nbsp;&nbsp;&nbsp;&#8220;nickname&#8221;:&nbsp;&#8220;Promise&#8221;, &nbsp;&nbsp;&nbsp;&nbsp;&#8220;sex&#8221;:&nbsp;1, &nbsp;&nbsp;&nbsp;&nbsp;&#8220;language&#8221;:&nbsp;&#8220;zh_CN&#8221;, &nbsp;&nbsp;&nbsp;&nbsp;&#8220;city&#8221;:&nbsp;&#8220;&#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-28496","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/28496","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=28496"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/28496\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=28496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=28496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=28496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}