作者 郭文星

123412

@@ -313,7 +313,7 @@ class Api extends Controller @@ -313,7 +313,7 @@ class Api extends Controller
313 313
314 if ($wxopenid) { 314 if ($wxopenid) {
315 $config = get_addon_config('wechat'); 315 $config = get_addon_config('wechat');
316 - $tourl = ''; 316 + $tourl = 'pages/index/index';
317 $ywt_appid = 'wxb7dd0c03865a94e0'; 317 $ywt_appid = 'wxb7dd0c03865a94e0';
318 $pagepath = 'pages/index/index'; 318 $pagepath = 'pages/index/index';
319 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 319 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
@@ -256,7 +256,7 @@ if (!function_exists('senWxmsgToDriverUser')) { @@ -256,7 +256,7 @@ if (!function_exists('senWxmsgToDriverUser')) {
256 ); 256 );
257 if ($wxopenid) { 257 if ($wxopenid) {
258 $config = get_addon_config('wechat'); 258 $config = get_addon_config('wechat');
259 - $tourl = ''; 259 + $tourl = 'pages/index/index';
260 $ywt_appid = 'wxb7dd0c03865a94e0'; 260 $ywt_appid = 'wxb7dd0c03865a94e0';
261 $pagepath = 'pages/index/index'; 261 $pagepath = 'pages/index/index';
262 $res = sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 262 $res = sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
@@ -136,7 +136,7 @@ class Index extends Api @@ -136,7 +136,7 @@ class Index extends Api
136 ); 136 );
137 if ($wxopenid) { 137 if ($wxopenid) {
138 $config = get_addon_config('wechat'); 138 $config = get_addon_config('wechat');
139 - $tourl = ''; 139 + $tourl = 'pages/index/index';
140 $ywt_appid = 'wxb7dd0c03865a94e0'; 140 $ywt_appid = 'wxb7dd0c03865a94e0';
141 $pagepath = 'pages/index/index'; 141 $pagepath = 'pages/index/index';
142 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 142 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);