Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shirne committed Sep 1, 2024
1 parent 9379905 commit 8366034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/application/task/controller/UtilController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8366034

Please sign in to comment.