feat(system): 优化删除操作并添加清除在线用户功能

- 重构了多个模块的删除操作,支持批量删除
- 在线监控模块增加了清除所有在线用户的功能
- 优化了前端API接口,提高了可维护性
This commit is contained in:
zhangtao
2025-07-14 00:52:32 +08:00
parent 4d08c96087
commit 90832d0fa2
41 changed files with 301 additions and 265 deletions
@@ -63,7 +63,7 @@ async def get_new_token_controller(
return SuccessResponse(data=token_dict, msg="刷新成功")
@router.post("/captcha/get", summary="获取验证码", description="获取登录验证码", response_model=CaptchaOutSchema)
@router.get("/captcha/get", summary="获取验证码", description="获取登录验证码", response_model=CaptchaOutSchema)
async def get_captcha_for_login_controller(
redis: Redis = Depends(redis_getter)
) -> JSONResponse: