seeding bonus log save to click house

This commit is contained in:
xiaomlove
2025-09-19 21:02:34 +07:00
parent 90c973f608
commit 8bdcacf8e7
15 changed files with 112 additions and 58 deletions

View File

@@ -258,11 +258,6 @@ class Setting extends NexusModel
return (int)self::get("backup.retention_count");
}
public static function getIsRecordAnnounceLog(): bool
{
return self::get('security.record_announce_logs') == 'yes';
}
public static function getIsRequireSeedSectionEnabled(): bool
{
return self::get("require_seed_section.enabled") == "yes";
@@ -322,5 +317,13 @@ class Setting extends NexusModel
return (int)self::get("torrent.reward_times_limit", 0);
}
public static function getIsRecordAnnounceLog(): bool
{
return self::get('system.is_record_announce_log') == 'yes';
}
public static function getIsRecordSeedingBonusLog(): bool
{
return self::get('system.is_record_seeding_bonus_log') == 'yes';
}
}