作者 sgj
1 个管道 的构建 通过 耗费 0 秒

添加时间信息

@@ -210,6 +210,7 @@ class UsersController extends HomeBaseController{ @@ -210,6 +210,7 @@ class UsersController extends HomeBaseController{
210 $price=new OrderController(); 210 $price=new OrderController();
211 $order['price']=$price->getPrice($users_id,$order['start_time'],$order['end_time']); 211 $order['price']=$price->getPrice($users_id,$order['start_time'],$order['end_time']);
212 $time_info=$this->getTimeInfo($order['start_time'],$order['end_time']); 212 $time_info=$this->getTimeInfo($order['start_time'],$order['end_time']);
  213 + dump($time_info);
213 array_merge($order,$time_info); 214 array_merge($order,$time_info);
214 $this->apiResponse(200,'success',$order); 215 $this->apiResponse(200,'success',$order);
215 } 216 }