关闭验证码功能
This commit is contained in:
6
saiadmin-artd/src/types/api/api.d.ts
vendored
6
saiadmin-artd/src/types/api/api.d.ts
vendored
@@ -82,12 +82,12 @@ declare namespace Api {
|
||||
image: string
|
||||
}
|
||||
|
||||
/** 登录参数 */
|
||||
/** 登录参数(关闭验证码时可不传 code、uuid) */
|
||||
interface LoginParams {
|
||||
username: string
|
||||
password: string
|
||||
code: string
|
||||
uuid: string
|
||||
code?: string
|
||||
uuid?: string
|
||||
}
|
||||
|
||||
/** 登录响应 */
|
||||
|
||||
@@ -164,6 +164,8 @@ export interface EnvConfig {
|
||||
VITE_USE_GZIP?: string
|
||||
// 是否开启 CDN
|
||||
VITE_USE_CDN?: string
|
||||
// 登录页是否启用验证码,设为 false 或 0 关闭
|
||||
VITE_LOGIN_CAPTCHA_ENABLED?: string
|
||||
}
|
||||
|
||||
// 应用配置
|
||||
|
||||
Reference in New Issue
Block a user