mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-05-22 06:49:15 +08:00
修改返利记录
This commit is contained in:
parent
4aea1b91ce
commit
2e87a347b2
@ -25,8 +25,7 @@ class Balance extends Auth
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
$query = $this->_query($this->table);
|
||||
$query->where(['uid' => $this->uuid, 'deleted' => 0]);
|
||||
$query = $this->_query($this->table)->where(['uid' => $this->uuid, 'deleted' => 0]);
|
||||
$result = $query->like('create_at#date')->order('id desc')->page(true, false, false, 15);
|
||||
$this->success('获取数据成功', $result);
|
||||
}
|
||||
|
@ -25,8 +25,7 @@ class Rebate extends Auth
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
$map = ['uid' => $this->uuid];
|
||||
$query = $this->_query($this->table)->where($map);
|
||||
$query = $this->_query($this->table)->where(['uid' => $this->uuid]);
|
||||
$query->like('create_at#date')->order('id desc')->page(true, false, false, 15);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user