From 836603410bddae4add9d0e1eaa8a0cb28b76ec90 Mon Sep 17 00:00:00 2001 From: shirne Date: Sun, 1 Sep 2024 11:27:01 +0800 Subject: [PATCH] fix --- src/application/task/controller/UtilController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application/task/controller/UtilController.php b/src/application/task/controller/UtilController.php index f0927e4b..04980b58 100644 --- a/src/application/task/controller/UtilController.php +++ b/src/application/task/controller/UtilController.php @@ -69,7 +69,7 @@ public function restatic() foreach ($orders as $order) { if ($order['referer'] > 0) { $amount = round($order['payamount'] * 100); - Db::name('member')->where('id', $member['referer'])->setInc('recom_performance', $amount); + Db::name('member')->where('id', $order['referer'])->setInc('recom_performance', $amount); $parents = MemberModel::getParents($order['member_id'], 0); Db::name('member')->whereIn('id', $parents)->setInc('total_performance', $amount);