Update Transfer.php

This commit is contained in:
邹景立 2021-03-17 15:56:54 +08:00
parent 4ea718130b
commit a050e6201e

View File

@ -101,7 +101,7 @@ class Transfer extends Auth
$query = $this->_query($this->table)->where(['uid' => $this->uuid]);
$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);
$this->success('获取提现成功', array_merge($result, [
'total' => [