From 60bbd9545fa8e243ee0c8fca3a5a09549bfe1ad0 Mon Sep 17 00:00:00 2001 From: Anyon Date: Wed, 3 Nov 2021 13:10:20 +0000 Subject: [PATCH] update app/data/controller/user/Balance.php. --- app/data/controller/user/Balance.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/data/controller/user/Balance.php b/app/data/controller/user/Balance.php index 31c2aaacf..971c7ba2f 100644 --- a/app/data/controller/user/Balance.php +++ b/app/data/controller/user/Balance.php @@ -126,7 +126,7 @@ class Balance extends Controller { if ($state) { $map = [['id', 'in', str2arr(input('id', ''))]]; - foreach ($this->app->db->name($this->table)->where($map)->cursor() as $vo) { + foreach (DataUserBalance::mk()->where($map)->cursor() as $vo) { UserBalanceService::instance()->amount($vo['uuid']); UserUpgradeService::instance()->upgrade($vo['uuid']); }