diff --git a/home/controllers/h5/market/sylive2/Item.php b/home/controllers/h5/market/sylive2/Item.php index f966d4c3..3719b1b3 100644 --- a/home/controllers/h5/market/sylive2/Item.php +++ b/home/controllers/h5/market/sylive2/Item.php @@ -316,8 +316,8 @@ class Item extends Wx{ } } - if($this->market_sylive_order_model->count(['itemId'=>$item_id, 'status'=>1])){ - //$this->show_json('',400,"每位客户仅限购买1次"); + if($this->market_sylive_order_model->count(['itemId'=>$item_id, 'mobile'=>$mobile, 'status'=>1])){ + $this->show_json('',400,"每位客户仅限购买1次"); } $redis = &load_cache('redis');