1.提交缺失的东西

This commit is contained in:
2025-05-16 16:47:36 +08:00
parent a27bf1ab2f
commit 74aed1a1af
2 changed files with 9 additions and 1 deletions

View File

@ -68,7 +68,12 @@ class OrderController extends BaseApiController
$order = OrderLogic::add($this->userId, $info['data'], $post);
return $order;
}
// 预约时间查询
public function yuyueTime(){
$post = $this->request->post();
$result = OrderLogic::getYuyueTime($post);
return $this->success('获取成功', $result);
}
//订单详情
public function detail()

View File

@ -921,6 +921,9 @@ class OrderLogic extends LogicBase
return $data;
}
public static function getYuyueTime($data){
return Db::name("order_yuyetime")->where("store_id",$data['store_id'])->select()->toArray();
}
/**
* Notes: 订单详情