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