From a050e6201e64acb0eb4d7a459227004908ef0f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E6=99=AF=E7=AB=8B?= Date: Wed, 17 Mar 2021 15:56:54 +0800 Subject: [PATCH] Update Transfer.php --- app/data/controller/api/auth/Transfer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/controller/api/auth/Transfer.php b/app/data/controller/api/auth/Transfer.php index db717ab83..f2e21d73a 100644 --- a/app/data/controller/api/auth/Transfer.php +++ b/app/data/controller/api/auth/Transfer.php @@ -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' => [