正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -148,12 +148,13 @@ class Index extends Api | @@ -148,12 +148,13 @@ class Index extends Api | ||
| 148 | 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), | 148 | 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), |
| 149 | ); | 149 | ); |
| 150 | if ($wxopenid) { | 150 | if ($wxopenid) { |
| 151 | - print_r(json_encode($order));return; | ||
| 152 | $config = get_addon_config('wechat'); | 151 | $config = get_addon_config('wechat'); |
| 153 | $ywt_appid = 'wx58ceff4e93cfc523'; | 152 | $ywt_appid = 'wx58ceff4e93cfc523'; |
| 154 | $tourl = ''; | 153 | $tourl = ''; |
| 155 | $pagepath ='pages/module/orderDetails?params='.json_encode($order); | 154 | $pagepath ='pages/module/orderDetails?params='.json_encode($order); |
| 156 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 155 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
| 156 | + print_r(json_encode($order));return; | ||
| 157 | + | ||
| 157 | //print_r($res);return; | 158 | //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); | 159 | //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); |
| 159 | } | 160 | } |
-
请 注册 或 登录 后发表评论