mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
new exam progress update logic
This commit is contained in:
@@ -287,7 +287,7 @@ function docleanup($forceAll = 0, $printProgress = false) {
|
||||
$all_bonus = $all_bonus * $donortimes_bonus;
|
||||
KPS("+",$all_bonus,$arr["userid"]);
|
||||
//update exam progress
|
||||
$examRep->addProgress($arr["userid"], 0, [\App\Models\Exam::INDEX_SEED_BONUS => $all_bonus]);
|
||||
$examRep->updateProgress($arr['userid']);
|
||||
}
|
||||
}
|
||||
$log = 'calculate seeding bonus';
|
||||
|
||||
Reference in New Issue
Block a user