From aafa17bbe5a246de7b5f2e2bb4697044a477f186 Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Thu, 15 Jun 2023 10:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=88=91=E7=9A=84=E7=A7=92?= =?UTF-8?q?=E6=9D=80=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/controllers/h5/market/sylive2/Ucenter.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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){