mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update Transfer.php
This commit is contained in:
parent
4ea718130b
commit
a050e6201e
@ -101,7 +101,7 @@ class Transfer extends Auth
|
|||||||
$query = $this->_query($this->table)->where(['uid' => $this->uuid]);
|
$query = $this->_query($this->table)->where(['uid' => $this->uuid]);
|
||||||
$result = $query->like('date,code')->in('status')->order('id desc')->page(true, false, false, 10);
|
$result = $query->like('date,code')->in('status')->order('id desc')->page(true, false, false, 10);
|
||||||
// 统计历史数据
|
// 统计历史数据
|
||||||
$map = [['uid', '=', $this->uuid], ['status', '>', 1]];
|
$map = [['uid', '=', $this->uuid], ['status', '>', 0]];
|
||||||
[$total, $count, $locks] = UserRebateService::instance()->amount($this->uuid);
|
[$total, $count, $locks] = UserRebateService::instance()->amount($this->uuid);
|
||||||
$this->success('获取提现成功', array_merge($result, [
|
$this->success('获取提现成功', array_merge($result, [
|
||||||
'total' => [
|
'total' => [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user