mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-19 13:35:07 +08:00
feat: vue3 add aj-captcha
This commit is contained in:
@ -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 })
|
||||
|
@ -1,8 +1,6 @@
|
||||
export type UserLoginVO = {
|
||||
username: string
|
||||
password: string
|
||||
code: string
|
||||
uuid: string
|
||||
}
|
||||
|
||||
export type TokenType = {
|
||||
|
Reference in New Issue
Block a user