主播周奖励-在麦时长-记录-调整单天秒数上限
This commit is contained in:
@@ -49,6 +49,7 @@ public class GuildMemberWeekLevelRewardService extends ServiceImpl<GuildMemberWe
|
|||||||
private final String startMonday = "2024-10-28";
|
private final String startMonday = "2024-10-28";
|
||||||
|
|
||||||
private int micDurationDayMax = 5;
|
private int micDurationDayMax = 5;
|
||||||
|
private int micDurationMax = 120 * 60;
|
||||||
|
|
||||||
public GuildMemberWeekLevelRewardVo getThisWeekLevelRewardVo(Long uid, Integer partitionId) {
|
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) {
|
public void addBonusProcess(String monday, Integer partitionId, Long guildMemberId, Integer before, Integer after) {
|
||||||
if (before >= micDurationDayMax || after < micDurationDayMax){
|
if (before >= micDurationMax || after < micDurationMax){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user