作者 郭文星

123

@@ -126,8 +126,7 @@ class Index extends Api @@ -126,8 +126,7 @@ class Index extends Api
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 127
128 $ywt_appid = 'wx58ceff4e93cfc523'; 128 $ywt_appid = 'wx58ceff4e93cfc523';
129 - $pagepath ='pages/module/cityOrders?params='.json_encode($order);  
130 - 129 + $pagepath ='';
131 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 130 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
132 //print_r($res);return; 131 //print_r($res);return;
133 //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); 132 //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);
@@ -151,8 +150,9 @@ class Index extends Api @@ -151,8 +150,9 @@ class Index extends Api
151 $config = get_addon_config('wechat'); 150 $config = get_addon_config('wechat');
152 $ywt_appid = ''; 151 $ywt_appid = '';
153 $tourl = ''; 152 $tourl = '';
  153 + $pagepath ='pages/module/cityOrders?params='.json_encode($order);
  154 +
154 155
155 - $pagepath ='';  
156 $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);
157 //print_r($res);return; 157 //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); 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);