feat: ✨ 增加关闭验证码的功能
增加关闭验证码的功能
This commit is contained in:
@@ -35,6 +35,16 @@ class AuthAPI {
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取验证码规则
|
||||
*/
|
||||
static getCaptchaRule() {
|
||||
return request<any, boolean>({
|
||||
url: `${AUTH_BASE_URL}/captcha/unable`,
|
||||
method: "get",
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
export default AuthAPI;
|
||||
|
||||
Reference in New Issue
Block a user