<br />
<b>Warning</b>:  "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/qtranslate-x/qtranslate_frontend.php</b> on line <b>497</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
<br />
<b>Warning</b>:  preg_replace(): Compilation failed: invalid range in character class at offset 4 in <b>/home/users/2/flatworld/web/memoecho.com/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php</b> on line <b>340</b><br />
{"id":1850,"date":"2018-07-29T08:43:12","date_gmt":"2018-07-29T08:43:12","guid":{"rendered":"http:\/\/tech.memoecho.com\/?p=1850"},"modified":"2018-07-29T08:43:12","modified_gmt":"2018-07-29T08:43:12","slug":"%e4%b8%ad%e6%96%87-ectouch%e5%be%ae%e4%bf%a1%e6%94%af%e4%bb%98%ef%bc%8c%e5%b8%a6%e5%be%ae%e4%bf%a1h5%e6%94%af%e4%bb%98","status":"publish","type":"post","link":"http:\/\/tech.memoecho.com\/zh\/ecshop\/%e4%b8%ad%e6%96%87-ectouch%e5%be%ae%e4%bf%a1%e6%94%af%e4%bb%98%ef%bc%8c%e5%b8%a6%e5%be%ae%e4%bf%a1h5%e6%94%af%e4%bb%98\/","title":{"rendered":"ectouch\u5fae\u4fe1\u652f\u4ed8\uff0c\u5e26\u5fae\u4fe1H5\u652f\u4ed8"},"content":{"rendered":"<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n<p><\/p>\n<h1>1.\u90e8\u7f72\u4ee3\u7801<\/h1>\n<div>\n<p align=\"left\"><strong>\u00a0 \u00a0 \u00a0<\/strong>\u89e3\u538b\u63d2\u4ef6\uff0c\u4e0a\u4f20<strong>\/payment\u00a0<\/strong><strong>\u6587\u4ef6\u5939\u5230<a title=\"\u670d\u52a1\u5668\" href=\"http:\/\/www.baiwar.com\/tag\/%E6%9C%8D%E5%8A%A1%E5%99%A8\" target=\"_blank\" rel=\"nofollow noopener\">\u670d\u52a1\u5668<\/a><\/strong><strong>\u5e76\u8986\u76d6\u540c\u540d\u76ee\u5f55<\/strong><strong>\/mobile\/plugins\/payment\uff1b<\/strong><\/p>\n<p align=\"left\"><strong>\u00a0 \u00a0 \u00a0<\/strong>\u53c2\u7167\u4e0b\u8f7d\u63d2\u4ef6\/payment \u7684\u76ee\u5f55\u653e\u7f6e\u6587\u4ef6<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523181621152?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/div>\n<div><\/div>\n<h2><a name=\"t2\"><\/a>\u4e0a\u4f20\/respondwx.php\u6587\u4ef6\u5230\u670d\u52a1\u5668\u76ee\u5f55\/mobile\/\u4e0b\uff1b<\/h2>\n<div><\/div>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523181927801?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p align=\"left\">\u00a0 \u00a0<strong>\u00a0<\/strong><strong>\u5728\/mobile\/include\/apps\/default\/controller\/CommonController.class.php\u00a0\u7ea685\u884c\u5de6\u53f3<\/strong><\/p>\n<p align=\"left\">\u00a0<strong>\uff08define(&#8216;SESS_ID&#8217;,self::$sess-&gt;get_session_id());\u4e4b\u540e\uff09\u63d2\u4ee5\u4e0b\u4ee3\u7801(\u82e5\u4e4b\u524d\u83b7\u53d6\u5230openid \u5e76\u7f13\u5b58\u5728\u00a0 \u00a0$_SESSION[\u201copenid\u201d]\u4e2d\uff0c\u53ef\u5ffd\u7565\u8fd9\u6b65\uff0c\u4fee\u6539\u4e4b\u524d\u8bf7\u6ce8\u610f\u5907\u4efd):<\/strong><\/p>\n<p align=\"left\">\u00a0\u00a0if( preg_match(&#8216;\/micromessenger\/&#8217;, strtolower($_SERVER[&#8216;HTTP_USER_AGENT&#8217;]))){<br \/>\nif(!isset($_SESSION[&#8220;openid&#8221;])||empty($_SESSION[&#8220;openid&#8221;])){\/\/openid\u4e3a\u7a7a<br \/>\nif(isset($_COOKIE[&#8220;openid&#8221;]) &amp;&amp; !empty($_COOKIE[&#8220;openid&#8221;])){<br \/>\n$_SESSION[&#8220;openid&#8221;]=$_COOKIE[&#8220;openid&#8221;];<br \/>\n}else{<br \/>\ninclude_once (ROOT_PATH . &#8216;plugins\/payment\/wxpay.php&#8217;);<br \/>\n$payObj = new wxpay();<br \/>\n$payObj-&gt;getOpenId();<br \/>\n}<br \/>\n}<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 }<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182527759?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t3\"><\/a>2.\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u8bbe\u7f6e<\/h1>\n<p>&nbsp;<\/p>\n<p align=\"left\">\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u767b\u5165mp.weixin.qq.com\u00a0\uff0c\u5728\u5fae\u4fe1\u652f\u4ed8-&gt;\u00a0\u5f00\u53d1\u914d\u7f6e\u4e0b\u4fee\u6539\u6216\u589e\u52a0\u652f\u4ed8\u6388\u6743\u652f\u4ed8\u76ee\u5f55\u00a0\u4e3ahttp:\/\/\u60a8\u7684\u57df\u540d\/mobile\/\u00a0\uff08\u6d4b\u8bd5\u6388\u6743\u76ee\u5f55\u4e3a\u7a7a\u6216\u8bbe\u7f6e\u4e3a\u975e\/mobile\/\u00a0\uff09<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182712442?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p align=\"left\"><strong>\u5728\u5f00\u53d1\u8005\u4e2d\u5fc3\u4e0b\u627e\u5230\u7f51\u9875\u8d26\u53f7-&gt;\u7f51\u9875\u6388\u6743\u83b7\u53d6\u7528\u6237\u57fa\u672c\u4fe1\u606f\uff0c\u70b9\u51fb\u4fee\u6539\u3002\u5728Oauth\u7f51\u9875\u6388\u6743\u5f39\u51fa\u6846\u4e2d\u8f93\u5165\u60a8\u7684\u57df\u540d(\u6ce8\u610f\u6709\u65e0www\u987b\u548c\u4f7f\u7528\u7684\u7f51\u7ad9\u57df\u540d\u4e00\u81f4)\uff1a<\/strong><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182744337?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182801747?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n\n<div><\/div>\n<h1><a name=\"t4\"><\/a>3.\u5b89\u88c5<\/h1>\n<p>&nbsp;<\/p>\n<p><strong>\u767b\u5165\u7f51\u7ad9\u624b\u673a\u7aef\u540e\u53f0(\u4e00\u822c\u4e3a http:\/\/\u60a8\u7684\u57df\u540d\/mobile\/admin\/\u00a0)\uff0c\u5728\u652f\u4ed8\u65b9\u5f0f\u4e2d\u627e\u5230\u5fae\u4fe1\u652f\u4ed8\u5e76\u5b89\u88c5\u3002<\/strong><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182858987?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h4>\u00a0<strong>\u6309\u7167\u63d0\u793a\u8f93\u5165 appid \u3001appsecret\u3001\u53d7\u7406\u5546id(\u5546\u6237\u53f7)\u3001\u5546\u6237\u652f\u4ed8\u79d8\u94a5key(\u5546\u6237API\u5bc6\u94a5)\u3002\u83b7\u53d6\u65b9\u6cd5\u00a0 \u5177\u4f53\u89c1\u4e0b\u4e00\u6b65\u3002<\/strong><\/h4>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182940498?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p>\u82e5\u8981\u4fee\u6539\u70b9\u51fb\u7f16\u8f91\u5373\u53ef\u3002<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183014817?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t5\"><\/a>4\u3001\u53c2\u6570\u83b7\u53d6<\/h1>\n<h3><\/h3>\n<h3><a name=\"t7\"><\/a>\u5728\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u5fae\u4fe1\u652f\u4ed8-&gt;\u5546\u6237\u4fe1\u606f\u4e0b\u53ef\u4ee5\u627e\u5230\u5546\u6237\u53f7\u3002<\/h3>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183111734?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h2><a name=\"t8\"><\/a>\u767b\u9646<a title=\"\u5fae\u4fe1\u652f\u4ed8\u5546\u6237\u5e73\u53f0\" href=\"https:\/\/pay.weixin.qq.com\/\" target=\"_blank\" rel=\"nofollow noopener\">\u5fae\u4fe1\u652f\u4ed8\u5546\u6237\u5e73\u53f0<\/a>\uff0c\u518d\u8d26\u6237\u8bbe\u7f6e-&gt;API\u5b89\u5168\u4e2d\u8bbe\u7f6eAPI\u5bc6\u94a5<\/h2>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183156335?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h3><a name=\"t9\"><\/a>\u5728\u5f00\u53d1\u8005\u4e2d\u5fc3-&gt;\u914d\u7f6e\u9879\u83b7\u53d6appid\u53caappsecret\u00a0\u3002<\/h3>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183231445?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t10\"><\/a>5\u3001\u8c03\u8bd5<\/h1>\n<p align=\"left\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0\u9ed8\u8ba4\u5173\u95ed\u8c03\u8bd5\uff0c\u82e5\u8981\u8c03\u8bd5\u987b\u5728\/mobile\/plugins\/payment\/wxpay.php\u00a0\u9876\u90e8\u627e\u5230define(&#8220;WXPAY DEBUG&#8221;,flse);\u4fee\u6539\u4e3adefine(&#8220;WXPAY DEBUG&#8221;,true);\u3002<\/p>\n<p>\u5f00\u542f\u8c03\u8bd5\u540e\uff0c\u4f1a\u8bb0\u5f55\u91cd\u8981\u6b65\u9aa4\u7684\u5173\u952e\u53c2\u6570\u7684\u503c\uff0c\u4ee5\u65b9\u4fbf\u8c03\u8bd5\uff0c\u4fdd\u5b58\u5728\/mobile\/data\/log\/wx.txt\u00a0\u3002 \uff08\u53ef\u80fd\u56e0\u4e3a\u6743\u9650\u95ee\u9898\u4e0d\u80fd\u521b\u5efa\uff0c\u8fd9\u662f\u9700\u8981\u624b\u52a8\u521b\u5efa\u7a7a\u767dwx.txt\u6587\u6863\uff09<\/p>\n<h1><\/h1>\n<h1><\/h1>\n<h1><a name=\"t13\"><\/a>\u8865\u5145\uff1a\u5fae\u4fe1h5\u652f\u4ed8\u4ee3\u7801\u4f4d\u7f6e\u8bf4\u660e<\/h1>\n<h2><a name=\"t14\"><\/a>1\u3001h5 \u652f\u4ed8\u662f\u5728\u5fae\u4fe1\u652f\u4ed8\u7684\u57fa\u7840\u4e0a\u65b0\u589e\u52a0\u7684\u4e00\u4e2a get_h5 \u65b9\u6cd5\u4f5c\u4e3a\u8c03\u7528\u7684\u3002<br \/>\nwxpay.php\u5982\u4e0b\u56fe\u4ee3\u7801\uff0c\u4f4d\u7f6e\uff1a<\/h2>\n<div><\/div>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185619330?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185647972?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/>\n<!-- WP QUADS Content Ad Plugin v. 2.0.19 -->\n<div class=\"quads-location quads-ad2\" id=\"quads-ad2\" style=\"float:none;margin:0px;\">\n\n <!-- WP QUADS - Quick AdSense Reloaded v.2.0.19 Content AdSense async --> \n\n\n<script type=\"text\/javascript\" >\nvar quads_screen_width = document.body.clientWidth;\nif ( quads_screen_width >= 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 1024  && quads_screen_width < 1140 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width >= 768  && quads_screen_width < 1024 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }if ( quads_screen_width < 768 ) {document.write('<ins class=\"adsbygoogle\" style=\"display:inline-block;width:336px;height:280px;\" data-ad-client=\"pub-8568501110011894\" data-ad-slot=\"4911828489\" ><\/ins>');\r\n            (adsbygoogle = window.adsbygoogle || []).push({});\r\n            }\n<\/script>\n\n <!-- end WP QUADS --> \n\n\n<\/div>\n<\/p>\n<h2><\/h2>\n<h2><a name=\"t16\"><\/a>2\u3001\u5fae\u4fe1\u63a5\u6536\u8fd4\u56de\u4fe1\u606f\uff0c\u5224\u65adh5\u652f\u4ed8\u5219\u83b7\u53d6\u5168\u90e8\u4fe1\u606f\uff0c\u5982\u4e0b\u56fe<\/h2>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185744591?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/>","protected":false},"excerpt":{"rendered":"<p>1.\u90e8\u7f72\u4ee3\u7801 \u00a0 \u00a0 \u00a0\u89e3\u538b\u63d2\u4ef6\uff0c\u4e0a\u4f20\/payment\u00a0\u6587\u4ef6\u5939\u5230\u670d\u52a1\u5668\u5e76\u8986\u76d6\u540c\u540d\u76ee\u5f55\/mobile\/plugins\/payment\uff1b \u00a0 \u00a0 \u00a0\u53c2\u7167\u4e0b [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[26],"tags":[],"pwapp_after_post_content":"","pwapp_before_post_content":"","androapp_header":"","pwapp_author":{"ID":1,"name":"enadmin","slug":"enadmin"},"pwapp_terms":{"category":[{"term_id":26,"name":"ecshop","slug":"ecshop","term_group":0,"term_taxonomy_id":26,"taxonomy":"category","description":"","parent":0,"count":53,"filter":"raw","cat_ID":26,"category_count":53,"category_description":"","cat_name":"ecshop","category_nicename":"ecshop","category_parent":0,"ID":26}]},"pwapp_feed_image_dimension_type":"preview","pwapp_post_image":"https:\/\/img-blog.csdn.net\/20180523181621152?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","share_image":"https:\/\/img-blog.csdn.net\/20180523181621152?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","featured_image_showhide":"show","pwapp_excerpt":"<p>1.\u90e8\u7f72\u4ee3\u7801 \u00a0 \u00a0 \u00a0\u89e3\u538b\u63d2\u4ef6\uff0c\u4e0a\u4f20\/payment\u00a0\u6587\u4ef6\u5939\u5230\u670d\u52a1\u5668\u5e76\u8986\u76d6\u540c\u540d\u76ee\u5f55\/mobile\/plugins\/payment\uff1b \u00a0 \u00a0 \u00a0\u53c2\u7167\u4e0b [&hellip;]<\/p>\n","pwapp_title":"ectouch\u5fae\u4fe1\u652f\u4ed8\uff0c\u5e26\u5fae\u4fe1H5\u652f\u4ed8","androapp_image_list":[{"src":"https:\/\/img-blog.csdn.net\/20180523181621152?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523181927801?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182527759?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182712442?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182744337?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182801747?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182858987?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523182940498?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523183014817?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523183111734?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523183156335?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523183231445?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523185619330?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523185647972?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200},{"src":"https:\/\/img-blog.csdn.net\/20180523185744591?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70","height":200}],"pwapp_post_content":"<style type=\"text\/css\">androapp img{\r\n    max-width: 100%;\r\n    height: auto;\r\n}\r\niframe{\r\n    max-width: 100%;    \r\n}\r\nfigure {\r\n    max-width: 100%;\r\n    height: auto;\r\n}\r\nimg{\r\n    max-width: 100% !important;\r\n    height: auto;\r\n}\r\ndiv {\r\n    max-width: 100% !important;\r\n}\r\nspan {\r\n    max-width:100%;\r\n    overflow: auto;\r\n}\r\naudio {\r\n    display:block;\r\n    visibility:visible !important;\r\n}\r\nvideo{\r\n    width:100%;\r\n    height:auto;\r\n}\r\n<\/style><div class='androapp'><p><\/p>\n<h1>1.\u90e8\u7f72\u4ee3\u7801<\/h1>\n<div>\n<p align=\"left\"><strong>\u00a0 \u00a0 \u00a0<\/strong>\u89e3\u538b\u63d2\u4ef6\uff0c\u4e0a\u4f20<strong>\/payment\u00a0<\/strong><strong>\u6587\u4ef6\u5939\u5230<a title=\"\u670d\u52a1\u5668\" href=\"http:\/\/www.baiwar.com\/tag\/%E6%9C%8D%E5%8A%A1%E5%99%A8\" target=\"_blank\" rel=\"nofollow noopener\">\u670d\u52a1\u5668<\/a><\/strong><strong>\u5e76\u8986\u76d6\u540c\u540d\u76ee\u5f55<\/strong><strong>\/mobile\/plugins\/payment\uff1b<\/strong><\/p>\n<p align=\"left\"><strong>\u00a0 \u00a0 \u00a0<\/strong>\u53c2\u7167\u4e0b\u8f7d\u63d2\u4ef6\/payment \u7684\u76ee\u5f55\u653e\u7f6e\u6587\u4ef6<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523181621152?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/div>\n<div><\/div>\n<h2><a name=\"t2\"><\/a>\u4e0a\u4f20\/respondwx.php\u6587\u4ef6\u5230\u670d\u52a1\u5668\u76ee\u5f55\/mobile\/\u4e0b\uff1b<\/h2>\n<div><\/div>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523181927801?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p align=\"left\">\u00a0 \u00a0<strong>\u00a0<\/strong><strong>\u5728\/mobile\/include\/apps\/default\/controller\/CommonController.class.php\u00a0\u7ea685\u884c\u5de6\u53f3<\/strong><\/p>\n<p align=\"left\">\u00a0<strong>\uff08define(&#8216;SESS_ID&#8217;,self::$sess-&gt;get_session_id());\u4e4b\u540e\uff09\u63d2\u4ee5\u4e0b\u4ee3\u7801(\u82e5\u4e4b\u524d\u83b7\u53d6\u5230openid \u5e76\u7f13\u5b58\u5728\u00a0 \u00a0$_SESSION[\u201copenid\u201d]\u4e2d\uff0c\u53ef\u5ffd\u7565\u8fd9\u6b65\uff0c\u4fee\u6539\u4e4b\u524d\u8bf7\u6ce8\u610f\u5907\u4efd):<\/strong><\/p>\n<p align=\"left\">\u00a0\u00a0if( preg_match(&#8216;\/micromessenger\/&#8217;, strtolower($_SERVER[&#8216;HTTP_USER_AGENT&#8217;]))){<br \/>\nif(!isset($_SESSION[&#8220;openid&#8221;])||empty($_SESSION[&#8220;openid&#8221;])){\/\/openid\u4e3a\u7a7a<br \/>\nif(isset($_COOKIE[&#8220;openid&#8221;]) &amp;&amp; !empty($_COOKIE[&#8220;openid&#8221;])){<br \/>\n$_SESSION[&#8220;openid&#8221;]=$_COOKIE[&#8220;openid&#8221;];<br \/>\n}else{<br \/>\ninclude_once (ROOT_PATH . &#8216;plugins\/payment\/wxpay.php&#8217;);<br \/>\n$payObj = new wxpay();<br \/>\n$payObj-&gt;getOpenId();<br \/>\n}<br \/>\n}<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a0 }<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182527759?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t3\"><\/a>2.\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u8bbe\u7f6e<\/h1>\n<p>&nbsp;<\/p>\n<p align=\"left\">\u00b7\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u767b\u5165mp.weixin.qq.com\u00a0\uff0c\u5728\u5fae\u4fe1\u652f\u4ed8-&gt;\u00a0\u5f00\u53d1\u914d\u7f6e\u4e0b\u4fee\u6539\u6216\u589e\u52a0\u652f\u4ed8\u6388\u6743\u652f\u4ed8\u76ee\u5f55\u00a0\u4e3ahttp:\/\/\u60a8\u7684\u57df\u540d\/mobile\/\u00a0\uff08\u6d4b\u8bd5\u6388\u6743\u76ee\u5f55\u4e3a\u7a7a\u6216\u8bbe\u7f6e\u4e3a\u975e\/mobile\/\u00a0\uff09<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182712442?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p align=\"left\"><strong>\u5728\u5f00\u53d1\u8005\u4e2d\u5fc3\u4e0b\u627e\u5230\u7f51\u9875\u8d26\u53f7-&gt;\u7f51\u9875\u6388\u6743\u83b7\u53d6\u7528\u6237\u57fa\u672c\u4fe1\u606f\uff0c\u70b9\u51fb\u4fee\u6539\u3002\u5728Oauth\u7f51\u9875\u6388\u6743\u5f39\u51fa\u6846\u4e2d\u8f93\u5165\u60a8\u7684\u57df\u540d(\u6ce8\u610f\u6709\u65e0www\u987b\u548c\u4f7f\u7528\u7684\u7f51\u7ad9\u57df\u540d\u4e00\u81f4)\uff1a<\/strong><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182744337?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182801747?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<div><\/div>\n<h1><a name=\"t4\"><\/a>3.\u5b89\u88c5<\/h1>\n<p>&nbsp;<\/p>\n<p><strong>\u767b\u5165\u7f51\u7ad9\u624b\u673a\u7aef\u540e\u53f0(\u4e00\u822c\u4e3a http:\/\/\u60a8\u7684\u57df\u540d\/mobile\/admin\/\u00a0)\uff0c\u5728\u652f\u4ed8\u65b9\u5f0f\u4e2d\u627e\u5230\u5fae\u4fe1\u652f\u4ed8\u5e76\u5b89\u88c5\u3002<\/strong><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182858987?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h4>\u00a0<strong>\u6309\u7167\u63d0\u793a\u8f93\u5165 appid \u3001appsecret\u3001\u53d7\u7406\u5546id(\u5546\u6237\u53f7)\u3001\u5546\u6237\u652f\u4ed8\u79d8\u94a5key(\u5546\u6237API\u5bc6\u94a5)\u3002\u83b7\u53d6\u65b9\u6cd5\u00a0 \u5177\u4f53\u89c1\u4e0b\u4e00\u6b65\u3002<\/strong><\/h4>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523182940498?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p>\u82e5\u8981\u4fee\u6539\u70b9\u51fb\u7f16\u8f91\u5373\u53ef\u3002<\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183014817?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t5\"><\/a>4\u3001\u53c2\u6570\u83b7\u53d6<\/h1>\n<h3><\/h3>\n<h3><a name=\"t7\"><\/a>\u5728\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u5fae\u4fe1\u652f\u4ed8-&gt;\u5546\u6237\u4fe1\u606f\u4e0b\u53ef\u4ee5\u627e\u5230\u5546\u6237\u53f7\u3002<\/h3>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183111734?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h2><a name=\"t8\"><\/a>\u767b\u9646<a title=\"\u5fae\u4fe1\u652f\u4ed8\u5546\u6237\u5e73\u53f0\" href=\"https:\/\/pay.weixin.qq.com\/\" target=\"_blank\" rel=\"nofollow noopener\">\u5fae\u4fe1\u652f\u4ed8\u5546\u6237\u5e73\u53f0<\/a>\uff0c\u518d\u8d26\u6237\u8bbe\u7f6e-&gt;API\u5b89\u5168\u4e2d\u8bbe\u7f6eAPI\u5bc6\u94a5<\/h2>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183156335?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h3><a name=\"t9\"><\/a>\u5728\u5f00\u53d1\u8005\u4e2d\u5fc3-&gt;\u914d\u7f6e\u9879\u83b7\u53d6appid\u53caappsecret\u00a0\u3002<\/h3>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523183231445?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h1><a name=\"t10\"><\/a>5\u3001\u8c03\u8bd5<\/h1>\n<p align=\"left\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0\u9ed8\u8ba4\u5173\u95ed\u8c03\u8bd5\uff0c\u82e5\u8981\u8c03\u8bd5\u987b\u5728\/mobile\/plugins\/payment\/wxpay.php\u00a0\u9876\u90e8\u627e\u5230define(&#8220;WXPAY DEBUG&#8221;,flse);\u4fee\u6539\u4e3adefine(&#8220;WXPAY DEBUG&#8221;,true);\u3002<\/p>\n<p>\u5f00\u542f\u8c03\u8bd5\u540e\uff0c\u4f1a\u8bb0\u5f55\u91cd\u8981\u6b65\u9aa4\u7684\u5173\u952e\u53c2\u6570\u7684\u503c\uff0c\u4ee5\u65b9\u4fbf\u8c03\u8bd5\uff0c\u4fdd\u5b58\u5728\/mobile\/data\/log\/wx.txt\u00a0\u3002 \uff08\u53ef\u80fd\u56e0\u4e3a\u6743\u9650\u95ee\u9898\u4e0d\u80fd\u521b\u5efa\uff0c\u8fd9\u662f\u9700\u8981\u624b\u52a8\u521b\u5efa\u7a7a\u767dwx.txt\u6587\u6863\uff09<\/p>\n<h1><\/h1>\n<h1><\/h1>\n<h1><a name=\"t13\"><\/a>\u8865\u5145\uff1a\u5fae\u4fe1h5\u652f\u4ed8\u4ee3\u7801\u4f4d\u7f6e\u8bf4\u660e<\/h1>\n<h2><a name=\"t14\"><\/a>1\u3001h5 \u652f\u4ed8\u662f\u5728\u5fae\u4fe1\u652f\u4ed8\u7684\u57fa\u7840\u4e0a\u65b0\u589e\u52a0\u7684\u4e00\u4e2a get_h5 \u65b9\u6cd5\u4f5c\u4e3a\u8c03\u7528\u7684\u3002<br \/>\nwxpay.php\u5982\u4e0b\u56fe\u4ee3\u7801\uff0c\u4f4d\u7f6e\uff1a<\/h2>\n<div><\/div>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185619330?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185647972?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p>\n<h2><\/h2>\n<h2><a name=\"t16\"><\/a>2\u3001\u5fae\u4fe1\u63a5\u6536\u8fd4\u56de\u4fe1\u606f\uff0c\u5224\u65adh5\u652f\u4ed8\u5219\u83b7\u53d6\u5168\u90e8\u4fe1\u606f\uff0c\u5982\u4e0b\u56fe<\/h2>\n<p><img src=\"https:\/\/img-blog.csdn.net\/20180523185744591?watermark\/2\/text\/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dlaXhpbl80MTEyMDUwNA==\/font\/5a6L5L2T\/fontsize\/400\/fill\/I0JBQkFCMA==\/dissolve\/70\" alt=\"\" \/><\/p><\/div>","pwapp_post_content_type":"postprocessed","pwapp_preview_type":"excerpt","androapp_failover_post_content_type":"","share_text":"ectouch\u5fae\u4fe1\u652f\u4ed8\uff0c\u5e26\u5fae\u4fe1H5\u652f\u4ed8\nvia http:\/\/tech.memoecho.com\/zh\/ecshop\/%e4%b8%ad%e6%96%87-ectouch%e5%be%ae%e4%bf%a1%e6%94%af%e4%bb%98%ef%bc%8c%e5%b8%a6%e5%be%ae%e4%bf%a1h5%e6%94%af%e4%bb%98\/","supercache":"androappsupercache","_links":{"self":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/1850"}],"collection":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/comments?post=1850"}],"version-history":[{"count":1,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/1850\/revisions"}],"predecessor-version":[{"id":1851,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/posts\/1850\/revisions\/1851"}],"wp:attachment":[{"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/media?parent=1850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/categories?post=1850"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tech.memoecho.com\/zh\/wp-json\/wp\/v2\/tags?post=1850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}