feat(diary): 班级码验证添加5次错误锁定 — Redis计数 + 30分钟冷却
This commit is contained in:
@@ -93,6 +93,7 @@ where
|
||||
req.class_code,
|
||||
None, // 昵称暂不通过此接口传递
|
||||
&state.db,
|
||||
state.redis.as_ref(),
|
||||
&state.event_bus,
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user