Update Balance.php

This commit is contained in:
邹景立 2021-03-17 16:02:23 +08:00
parent a050e6201e
commit 6c90a30c5b

View File

@ -25,7 +25,8 @@ class Balance extends Auth
*/
public function get()
{
$query = $this->_query($this->table)->where(['uid' => $this->uuid, 'deleted' => 0]);
$query = $this->_query($this->table);
$query->withoutField('deleted,create_by')->where(['uid' => $this->uuid, 'deleted' => 0]);
$result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 15);
$this->success('获取数据成功', $result);
}