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) {