作者 郭文星

123

@@ -148,9 +148,9 @@ class Index extends Api @@ -148,9 +148,9 @@ class Index extends Api
148 ); 148 );
149 if ($wxopenid) { 149 if ($wxopenid) {
150 $config = get_addon_config('wechat'); 150 $config = get_addon_config('wechat');
151 - $tourl = ''; 151 + $tourl = 'https://wyc.tenyes.cn/IkpLwqxfKQ.php/order/orderinfo?id='.$order['user_id'].'&ids=460&dialog=1';
152 $ywt_appid = 'wx58ceff4e93cfc523'; 152 $ywt_appid = 'wx58ceff4e93cfc523';
153 - $pagepath ='pages/module/cityOrders?params='.json_encode($order); 153 + $pagepath ='';
154 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 154 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
155 //print_r($res);return; 155 //print_r($res);return;
156 //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); 156 //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);