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()
|
public function get()
|
||||||
{
|
{
|
||||||
$query = DataUserBalance::mQuery();
|
$query = DataUserBalance::mQuery()->withoutField('deleted,create_by');
|
||||||
$query->withoutField('deleted,create_by')->where(['uuid' => $this->uuid, 'deleted' => 0]);
|
$query->where(['uuid' => $this->uuid, 'deleted' => 0])->like('create_at#date');
|
||||||
$result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 10);
|
$this->success('获取数据成功', $query->order('id desc')->page(true, false, false, 10));
|
||||||
$this->success('获取数据成功', $result);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user