From 2570667b4c03c48eb14e1b855e1d4c6a81a0eea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 17 Mar 2021 15:28:50 +0800 Subject: [PATCH] Update Rebate.php --- app/data/controller/api/auth/Rebate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/controller/api/auth/Rebate.php b/app/data/controller/api/auth/Rebate.php index ad41b4913..be1efc3fe 100644 --- a/app/data/controller/api/auth/Rebate.php +++ b/app/data/controller/api/auth/Rebate.php @@ -25,7 +25,7 @@ class Rebate extends Auth */ public function get() { - $query = $this->_query($this->table)->where(['uid' => $this->uuid]); + $query = $this->_query($this->table)->where(['uid' => $this->uuid])->equal('status'); $result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 15); $this->success('获取用户返利', $result); }