From c25248ea879be2c0bf9c3774ce682394f50d162c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=B1=BC=E5=BC=80=E5=8F=91?= Date: Wed, 19 Jun 2024 14:49:17 +0800 Subject: [PATCH] clue --- api/controllers/wxapp/licheb/Clues.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/controllers/wxapp/licheb/Clues.php b/api/controllers/wxapp/licheb/Clues.php index 8cb60ac9..b221af94 100644 --- a/api/controllers/wxapp/licheb/Clues.php +++ b/api/controllers/wxapp/licheb/Clues.php @@ -20,7 +20,6 @@ class Clues extends Wxapp public function get() { - $id = $this->input_param('id'); if ($id) { $where = [ @@ -52,7 +51,7 @@ class Clues extends Wxapp $size = $this->input_param('size'); !$page && $page = 1; !$size && $size = 10; - $where = ['biz_id' => $this->get_biz_id(), 'status' => 0]; + $where = ['biz_id' => $this->get_biz_id(), 'status' => 1, 'status2' => 2]; $total = $this->clues_model->count($where); $lists = []; if ($total > 0) {