Skip to content

Commit

Permalink
fix CalulateUserSeedBonus for doner
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaomlove committed Oct 29, 2024
1 parent 7159a46 commit 8dbf798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/CalculateUserSeedBonus.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public function handle()
$bonusLog = "[CLEANUP_CLI_CALCULATE_SEED_BONUS_HANDLE_USER], user: $uid, seedBonusResult: " . nexus_json_encode($seedBonusResult);
$all_bonus = $seedBonusResult['seed_bonus'];
$bonusLog .= ", all_bonus: $all_bonus";
if ($isDonor) {
if ($isDonor && $donortimes_bonus != 0) {
$all_bonus = $all_bonus * $donortimes_bonus;
$bonusLog .= ", isDonor, donortimes_bonus: $donortimes_bonus, all_bonus: $all_bonus";
}
Expand Down

0 comments on commit 8dbf798

Please sign in to comment.