关闭活动预热
This commit is contained in:
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());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user