feat-20231230-001-Robin #25
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue