正在显示
3 个修改的文件
包含
3 行增加
和
3 行删除
@@ -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); |
-
请 注册 或 登录 后发表评论