{"id":30123,"date":"2024-11-25T15:15:35","date_gmt":"2024-11-25T07:15:35","guid":{"rendered":"https:\/\/fwq.ai\/blog\/30123\/"},"modified":"2024-11-25T15:15:35","modified_gmt":"2024-11-25T07:15:35","slug":"%e5%b0%8f%e7%a8%8b%e5%ba%8f%e5%bc%80%e5%8f%91%e4%b9%8b%e5%88%86%e4%ba%ab%e6%9c%8b%e5%8f%8b%e5%9c%88%e4%bb%a3%e7%a0%81%e5%ae%9e%e4%be%8b","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/30123\/","title":{"rendered":"\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e4b\u5206\u4eab\u670b\u53cb\u5708\u4ee3\u7801\u5b9e\u4f8b"},"content":{"rendered":"<pre>&lt;script&gt;\r\n \r\ndocument.addEventListener(&#039;WeixinJSBridgeReady&#039;, function onBridgeReady() {\r\n \r\nwindow.shareData = {\r\n \r\n\"imgUrl\": \"\/index.php\/images\/jp_1.jpg\",\r\n \r\n\"timeLineLink\": \"http:\/\/dc.exweixin.com\/index.php?app=RedPacket&amp;mod=Index&amp;act=robSmallRed&amp;fatherid={$fatherid}\",\/\/\u597d\u53cb\r\n \r\n\"sendFriendLink\": \"http:\/\/dc.exweixin.com\/index.php?app=RedPacket&amp;mod=Index&amp;act=robSmallRed&amp;fatherid={$fatherid}\",\/\/\u670b\u53cb\u5708\r\n \r\n\"weiboLink\": \"\",\r\n \r\n\"tTitle\": \"\u6807\u9898\uff01\",\r\n \r\n\"tContent\": \"\u5185\u5bb9\",\r\n \r\n\"fTitle\": \"\uff01\",\r\n \r\n\"fContent\": \"\uff01\",\r\n \r\n\"wContent\": \"\"\r\n \r\n};\r\n \r\n\/\/ \u53d1\u9001\u7ed9\u597d\u53cb\r\n \r\nWeixinJSBridge.on(&#039;menu:share:appmessage&#039;, function (argv) {\r\n \r\nWeixinJSBridge.invoke(&#039;sendAppMessage&#039;, {\r\n \r\n\"img_url\": window.shareData.imgUrl,\r\n \r\n\"img_width\": \"640\",\r\n \r\n\"img_height\": \"640\",\r\n \r\n\"link\": window.shareData.sendFriendLink,\r\n \r\n\"desc\": window.shareData.fContent,\r\n \r\n\"title\": window.shareData.fTitle\r\n \r\n}, function (res) {\r\n \r\n_report(&#039;send_msg&#039;, res.err_msg);\r\n \r\n})\r\n \r\n});\r\n \r\n\/\/ \u5206\u4eab\u5230\u670b\u53cb\u5708\r\n \r\nWeixinJSBridge.on(&#039;menu:share:timeline&#039;, function (argv) {\r\n \r\nWeixinJSBridge.invoke(&#039;shareTimeline&#039;, {\r\n \r\n\"img_url\": window.shareData.imgUrl,\r\n \r\n\"img_width\": \"640\",\r\n \r\n\"img_height\": \"640\",\r\n \r\n\"link\": window.shareData.timeLineLink,\r\n \r\n\"desc\": window.shareData.tContent,\r\n \r\n\"title\": window.shareData.tTitle\r\n \r\n}, function (res) {\r\n \r\n_report(&#039;timeline&#039;, res.err_msg);\r\n \r\n});\r\n \r\n});\r\n \r\n\/\/ \u5206\u4eab\u5230\u5fae\u535a\r\n \r\nWeixinJSBridge.on(&#039;menu:share:weibo&#039;, function (argv) {\r\n \r\nWeixinJSBridge.invoke(&#039;shareWeibo&#039;, {\r\n \r\n\"content\": window.shareData.wContent,\r\n \r\n\"url\": window.shareData.weiboLink,\r\n \r\n}, function (res) {\r\n \r\n_report(&#039;weibo&#039;, res.err_msg);\r\n \r\n});\r\n \r\n});\r\n \r\n}, false)\r\n \r\n&lt;\/script&gt;<\/pre>\n<p> \u767b\u5f55\u540e\u590d\u5236 <\/p>\n<p>\u3010\u76f8\u5173\u63a8\u8350\u3011<\/p>\n<p>1. <span><strong>\u7279\u522b\u63a8\u8350<\/strong><\/span>\uff1a<\/p>\n<p>2. <\/p>\n<p>3. <\/p>\n<p>\u4ee5\u4e0a\u5c31\u662f\u5c0f\u7a0b\u5e8f\u5f00\u53d1\u4e4b\u5206\u4eab\u670b\u53cb\u5708\u4ee3\u7801\u5b9e\u4f8b\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>&lt;script&gt; document.addEventListener(&#039;WeixinJSBridgeReady&#039;, function onBridgeReady() { window.shareData = { &#8220;imgUrl&#8221;: &#8220;\/index.php\/images\/jp_1.jpg&#8221;, &#8220;timeLineLink&#8221;: &#8220;http:\/\/dc.exweixin.com\/index.php?app=RedPacket&amp;mod=Index&amp;act=robSmallRed&amp;fatherid={$fatherid}&#8221;,\/\/\u597d\u53cb &#8220;sendFriendLink&#8221;: &#8220;http:\/\/dc.exweixin.com\/index.php?app=RedPacket&amp;mod=Index&amp;act=robSmallRed&amp;fatherid={$fatherid}&#8221;,\/\/\u670b\u53cb\u5708 &#8220;weiboLink&#8221;: &#8220;&#8221;, &#8220;tTitle&#8221;: &#8220;\u6807\u9898\uff01&#8221;, &#8220;tContent&#8221;: &#8220;\u5185\u5bb9&#8221;, &#8220;fTitle&#8221;: &#8220;\uff01&#8221;, &#8220;fContent&#8221;: &#8220;\uff01&#8221;, &#8220;wContent&#8221;: &#8220;&#8221; }; \/\/ \u53d1\u9001\u7ed9\u597d\u53cb WeixinJSBridge.on(&#039;menu:share:appmessage&#039;, function (argv) { WeixinJSBridge.invoke(&#039;sendAppMessage&#039;, { &#8220;img_url&#8221;: window.shareData.imgUrl, &#8220;img_width&#8221;: &#8220;640&#8221;, &#8220;img_height&#8221;: &#8220;640&#8221;, &#8220;link&#8221;: window.shareData.sendFriendLink, &#8220;desc&#8221;: window.shareData.fContent, &#8220;title&#8221;: window.shareData.fTitle }, function (res) { _report(&#039;send_msg&#039;, res.err_msg); }) }); [&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-30123","post","type-post","status-publish","format-standard","hentry","category-19"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30123","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=30123"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/30123\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=30123"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=30123"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=30123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}