正在显示
1 个修改的文件
包含
4 行增加
和
2 行删除
| @@ -123,7 +123,8 @@ class Index extends Api | @@ -123,7 +123,8 @@ class Index extends Api | ||
| 123 | 123 | ||
| 124 | if ($wxopenid) { | 124 | if ($wxopenid) { |
| 125 | $config = get_addon_config('wechat'); | 125 | $config = get_addon_config('wechat'); |
| 126 | - $tourl = ''; | 126 | + $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id; |
| 127 | + | ||
| 127 | $ywt_appid = 'wx58ceff4e93cfc523'; | 128 | $ywt_appid = 'wx58ceff4e93cfc523'; |
| 128 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); | 129 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); |
| 129 | 130 | ||
| @@ -148,8 +149,9 @@ class Index extends Api | @@ -148,8 +149,9 @@ class Index extends Api | ||
| 148 | ); | 149 | ); |
| 149 | if ($wxopenid) { | 150 | if ($wxopenid) { |
| 150 | $config = get_addon_config('wechat'); | 151 | $config = get_addon_config('wechat'); |
| 151 | - $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id; | ||
| 152 | $ywt_appid = ''; | 152 | $ywt_appid = ''; |
| 153 | + $tourl = ''; | ||
| 154 | + | ||
| 153 | $pagepath =''; | 155 | $pagepath =''; |
| 154 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 156 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
| 155 | //print_r($res);return; | 157 | //print_r($res);return; |
-
请 注册 或 登录 后发表评论