作者 郭文星

1231

@@ -149,7 +149,7 @@ class Index extends Api @@ -149,7 +149,7 @@ class Index extends Api
149 $config = get_addon_config('wechat'); 149 $config = get_addon_config('wechat');
150 $ywt_appid = 'wx58ceff4e93cfc523'; 150 $ywt_appid = 'wx58ceff4e93cfc523';
151 $tourl = ''; 151 $tourl = '';
152 - $pagepath ='pages/module/orderDetails='.json_encode($order); 152 + $pagepath ='pages/module/orderDetails?params='.json_encode($order);
153 $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);
154 //print_r($res);return; 154 //print_r($res);return;
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); 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);