Update Rebate.php

This commit is contained in:
邹景立 2021-03-17 15:28:50 +08:00
parent 798c0d9bb1
commit 2570667b4c

View File

@ -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);
}