feat:登录接入验证码功能

This commit is contained in:
Xwen
2023-12-20 22:51:24 +08:00
parent e9af19e3dc
commit 7f399d6854
4 changed files with 54 additions and 6 deletions

View File

@@ -63,3 +63,13 @@ export function getCodePhone(data) {
data,
});
}
/**
* 获取登录验证码
*/
export function getLoginCode() {
return request({
url: `/account/captcha-image`,
method: "get",
});
}