主播周奖励-在麦时长-记录-调整单天秒数上限

This commit is contained in:
2025-09-02 16:16:39 +08:00
parent 87e56ea686
commit 6f685c09e9

View File

@@ -49,6 +49,7 @@ public class GuildMemberWeekLevelRewardService extends ServiceImpl<GuildMemberWe
private final String startMonday = "2024-10-28";
private int micDurationDayMax = 5;
private int micDurationMax = 120 * 60;
public GuildMemberWeekLevelRewardVo getThisWeekLevelRewardVo(Long uid, Integer partitionId) {
@@ -324,7 +325,7 @@ public class GuildMemberWeekLevelRewardService extends ServiceImpl<GuildMemberWe
}
public void addBonusProcess(String monday, Integer partitionId, Long guildMemberId, Integer before, Integer after) {
if (before >= micDurationDayMax || after < micDurationDayMax){
if (before >= micDurationMax || after < micDurationMax){
return;
}