feat-20231230-001-Robin #25

Merged
chenhao merged 22 commits from feat-20231230-001-Robin into test 2023-12-30 19:49:54 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ee1aabe66c - Show all commits

View File

@ -268,7 +268,7 @@ func (l *LoginBusinessValidator) EnsureVeriCodeSendTimesNotReachedDailyUpperboun
return
}
if l.vericodeSendTimes.SendTimes > int64(maxDailyVeriCodeSendTimes) {
if l.vericodeSendTimes.SendTimes >= int64(maxDailyVeriCodeSendTimes) {
logger.Error("the vericode send times of this device has reached its daily upperbound")
l.ec = errcode.ErrCodeVeriCodeSendTimesReachedDailyUpperbound
return