diff --git a/home/controllers/h5/market/sylive2/Ucenter.php b/home/controllers/h5/market/sylive2/Ucenter.php index be4164be..d6b81724 100644 --- a/home/controllers/h5/market/sylive2/Ucenter.php +++ b/home/controllers/h5/market/sylive2/Ucenter.php @@ -194,10 +194,9 @@ class Ucenter extends Wx{ $where = [ 'activityId' => $this->a_id, 'userId' => $this->uid, - 'type' => 0, 'status' => 1 ]; - $where['type'] = int($params['type']) ? 1 : 0; + $where['type'] = intval($params['type']) ? 1 : 0; $total = $this->market_sylive_order_model->count($where); $lists = []; if($total){