去除验证码

This commit is contained in:
禺狨
2023-07-03 15:50:17 +08:00
parent 19994b680c
commit e74856d5b0
2 changed files with 3 additions and 69 deletions

View File

@@ -1,16 +1,9 @@
import client from "./internal/httpClient";
export function login(
email: string,
password: string,
captchaKey: string,
captchaVal: string
) {
export function login(email: string, password: string) {
return client.post("/backend/v1/auth/login", {
email: email,
password: password,
captcha_key: captchaKey,
captcha_value: captchaVal,
});
}