mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Balance.php
This commit is contained in:
parent
3722bed210
commit
c880049fb9
@ -20,9 +20,8 @@ class Balance extends Auth
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
$query = DataUserBalance::mQuery();
|
||||
$query->withoutField('deleted,create_by')->where(['uuid' => $this->uuid, 'deleted' => 0]);
|
||||
$result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 10);
|
||||
$this->success('获取数据成功', $result);
|
||||
$query = DataUserBalance::mQuery()->withoutField('deleted,create_by');
|
||||
$query->where(['uuid' => $this->uuid, 'deleted' => 0])->like('create_at#date');
|
||||
$this->success('获取数据成功', $query->order('id desc')->page(true, false, false, 10));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user