feat: vue3 add aj-captcha

This commit is contained in:
xingyu
2022-08-02 17:07:05 +08:00
parent 02224ad6b5
commit 414671e881
13 changed files with 1331 additions and 57 deletions

View File

@ -18,11 +18,6 @@ export interface SmsLoginVO {
code: string
}
// 获取验证码
export const getCodeImgApi = () => {
return request.get({ url: '/system/captcha/get-image' })
}
// 登录
export const loginApi = (data: UserLoginVO) => {
return request.post({ url: '/system/auth/login', data })

View File

@ -1,8 +1,6 @@
export type UserLoginVO = {
username: string
password: string
code: string
uuid: string
}
export type TokenType = {