新增登录页图形验证码功能,支持通过Redis全局配置控制验证码的启用状态,优化登录流程以提升用户体验。新增相关API接口和前端配置项,确保验证码逻辑与后端同步。

This commit is contained in:
geht
2026-04-20 14:21:36 +08:00
parent 7a648b20be
commit 73426a7af3
23 changed files with 450 additions and 103 deletions

View File

@@ -141,6 +141,8 @@ export interface ProjectConfig {
// Whether to cancel the http request that has been sent but not responded when switching the interface.
removeAllHttpPending: boolean;
aiIconShow: boolean;
/** 登录页是否展示图形验证码(需与后端 firewall.enable-login-captcha 配合;服务端要求验证码时始终展示) */
loginCaptchaEnabled: boolean;
}
export interface GlobConfig {