Merge pull request 'w' (#113) from feat-IRONFANS-53-20240205-Robin into main

Reviewed-on: #113
This commit is contained in:
chenhao 2024-02-07 13:07:50 +08:00
commit 4c9c70d334
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ func (l *AuthBusinessValidator) EnsureMomentCreateTimesNotReachedDailyUpperbound
return return
} }
logger.Info("momentCreateTimes: %v, maxDailyMomentCreateTimes : %v", l.momentCreateTimes.CreateTimes, maxDailyMomentCreateTimes)
if l.momentCreateTimes.CreateTimes >= int64(maxDailyMomentCreateTimes) { if l.momentCreateTimes.CreateTimes >= int64(maxDailyMomentCreateTimes) {
logger.Error("the moment create times of this mid has reached its daily upperbound") logger.Error("the moment create times of this mid has reached its daily upperbound")
l.ec = errcode.ErrCodeMomentCreateTimesReachedDailyUpperbound l.ec = errcode.ErrCodeMomentCreateTimesReachedDailyUpperbound