diff --git a/domain/model/groupPower_m/group_grade.go b/domain/model/groupPower_m/group_grade.go index 698f795a256d6824a1dcd57fb57273003002c87e..5f1ba37bfeb76d7fc4b0363a862bee86a6f77fab 100644 --- a/domain/model/groupPower_m/group_grade.go +++ b/domain/model/groupPower_m/group_grade.go @@ -233,7 +233,7 @@ func IncrGroupPowerStarOnMic(model *domain.Model, groupPowerId, userId mysql.ID, if err != nil && err != gorm.ErrRecordNotFound { return err } - if star != nil && joinMicTimestamp == star.LastCalTs { + if star != nil && joinMicTimestamp < star.LastCalTs { // 加入的时间比上次计算时间小 curTs = star.LastCalTs } score := nowTs - curTs