feat-20231230-001-Robin #25
|
@ -268,7 +268,7 @@ func (l *LoginBusinessValidator) EnsureVeriCodeSendTimesNotReachedDailyUpperboun
|
||||||
return
|
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")
|
logger.Error("the vericode send times of this device has reached its daily upperbound")
|
||||||
l.ec = errcode.ErrCodeVeriCodeSendTimesReachedDailyUpperbound
|
l.ec = errcode.ErrCodeVeriCodeSendTimesReachedDailyUpperbound
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue