关闭活动预热

This commit is contained in:
wangxiaowei 2024-11-29 13:22:14 +08:00
parent 240c721be9
commit b66ed3c583

@ -36,11 +36,11 @@ class Order extends Api
$post['user_id'] = $this->user_id;
$post['client'] = $this->client;
(new OrderValidate())->goCheck('add', $post);
if(isset($post['order_type'])){
if($post['order_type'] == 4){
return JsonServer::error("活动正在预热,敬请等待");
}
}
// if(isset($post['order_type'])){
// if($post['order_type'] == 4){
// return JsonServer::error("活动正在预热,敬请等待");
// }
// }
$order = OrderLogic::add($post);
if (false === $order) {
return JsonServer::error(OrderLogic::getError());