reward torrent add times limit

This commit is contained in:
xiaomlove
2025-09-08 13:05:42 +07:00
parent 22a91a5851
commit 500df6b922
7 changed files with 43 additions and 26 deletions

View File

@@ -317,5 +317,10 @@ class Setting extends NexusModel
return Torrent::BONUS_REWARD_VALUES;
}
public static function getBonusRewardTimesLimit(): int
{
return (int)self::get("torrent.reward_times_limit", 0);
}
}