作者 郭文星

131

@@ -96,7 +96,6 @@ class Index extends Api @@ -96,7 +96,6 @@ class Index extends Api
96 { 96 {
97 $order=Db::name("order")->find($order_id); 97 $order=Db::name("order")->find($order_id);
98 if($order['user_id']){ 98 if($order['user_id']){
99 -  
100 $user=Db::name("user")->find($order['user_id']); 99 $user=Db::name("user")->find($order['user_id']);
101 $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find(); 100 $wct_user=Db::name("wct_user")->where("unionid",$user['unionid'])->find();
102 $wxopenid=$wct_user['wx_openid']; 101 $wxopenid=$wct_user['wx_openid'];
@@ -123,8 +122,8 @@ class Index extends Api @@ -123,8 +122,8 @@ class Index extends Api
123 } 122 }
124 } 123 }
125 if($order['driver_id']){ 124 if($order['driver_id']){
126 - $order['start']=$order['starting_point'];  
127 - $order['to']=$order['end_point']; 125 + $order['start_address']=$order['starting_point'];
  126 + $order['end_address']=$order['end_point'];
128 $order['typeStr']='进行中'; 127 $order['typeStr']='进行中';
129 $order['timeStr']=str_replace(' ','',$order['reservation_time']); 128 $order['timeStr']=str_replace(' ','',$order['reservation_time']);
130 if($order['type']==1){ 129 if($order['type']==1){