作者 郭文星

1231

@@ -150,7 +150,8 @@ class Index extends Api @@ -150,7 +150,8 @@ class Index extends Api
150 $config = get_addon_config('wechat'); 150 $config = get_addon_config('wechat');
151 $ywt_appid = 'wx58ceff4e93cfc523'; 151 $ywt_appid = 'wx58ceff4e93cfc523';
152 $tourl = ''; 152 $tourl = '';
153 - $pagepath ='pages/module/orderDetails?params='.json_encode($order); 153 + $res='params={"id":97,"driver_id":1,"car_id":39,"route_id":4,"type":"2","createtime":"1722390388","order_status":"3","start_address":"蒙自","end_address":"个旧","price":"0.06","number":6,"typeImg":"../../static/img-0.png","timeStr":"2024-07-31 09:46:28","typeStr":"进行中"}';
  154 + $pagepath ='pages/module/orderDetails?params='.$res;
154 $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);
155 print_r(json_encode($order));return; 156 print_r(json_encode($order));return;
156 157