正在显示
1 个修改的文件
包含
15 行增加
和
2 行删除
@@ -151,9 +151,22 @@ class Index extends Api | @@ -151,9 +151,22 @@ class Index extends Api | ||
151 | $ywt_appid = 'wx58ceff4e93cfc523'; | 151 | $ywt_appid = 'wx58ceff4e93cfc523'; |
152 | $tourl = ''; | 152 | $tourl = ''; |
153 | $data=[ | 153 | $data=[ |
154 | - "id"=>$order | 154 | + "id"=>$order['order_review_id'], |
155 | + "driver_id"=>$order['driver_id'], | ||
156 | + "car_id"=>$order['car_id'], | ||
157 | + "route_id"=>$order['route_id'], | ||
158 | + "type"=>$order['type'], | ||
159 | + "createtime"=>$order['createtime'], | ||
160 | + "order_status"=>$order['order_status'], | ||
161 | + "start_address"=>$order['start_address'], | ||
162 | + "end_address"=>$order['end_address'], | ||
163 | + "price"=>$order['price'], | ||
164 | + "number"=>$order['number'], | ||
165 | + "typeImg"=>$order['typeImg'], | ||
166 | + "timeStr"=>$order['timeStr'], | ||
167 | + "typeStr"=>$order['typeStr'], | ||
155 | ]; | 168 | ]; |
156 | - $pagepath ='pages/module/orderDetails?params='.json_encode($order); | 169 | + $pagepath ='pages/module/orderDetails?params='.json_encode($data); |
157 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 170 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
158 | print_r(json_encode($order));return; | 171 | print_r(json_encode($order));return; |
159 | 172 |
-
请 注册 或 登录 后发表评论