作者 郭文星

131

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