1.提交缺失的东西
This commit is contained in:
@ -68,7 +68,12 @@ class OrderController extends BaseApiController
|
|||||||
$order = OrderLogic::add($this->userId, $info['data'], $post);
|
$order = OrderLogic::add($this->userId, $info['data'], $post);
|
||||||
return $order;
|
return $order;
|
||||||
}
|
}
|
||||||
|
// 预约时间查询
|
||||||
|
public function yuyueTime(){
|
||||||
|
$post = $this->request->post();
|
||||||
|
$result = OrderLogic::getYuyueTime($post);
|
||||||
|
return $this->success('获取成功', $result);
|
||||||
|
}
|
||||||
|
|
||||||
//订单详情
|
//订单详情
|
||||||
public function detail()
|
public function detail()
|
||||||
|
|||||||
@ -921,6 +921,9 @@ class OrderLogic extends LogicBase
|
|||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static function getYuyueTime($data){
|
||||||
|
return Db::name("order_yuyetime")->where("store_id",$data['store_id'])->select()->toArray();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notes: 订单详情
|
* Notes: 订单详情
|
||||||
|
|||||||
Reference in New Issue
Block a user