Files
admin-ui/src/api/login/index.ts

34 lines
486 B
TypeScript
Raw Normal View History

2025-11-20 09:10:35 +08:00
import request from '/@/utils/request';
/**
* api接口集合
* @method signIn
*/
export function login(params: object){
return request({
url: '/api/v1/system/login',
method: 'post',
data: params,
});
}
/**
*
*/
export function captcha(){
return request({
url:"/api/v1/pub/captcha/get",
method:"get"
})
}
/**
* 退
*/
export function logout(){
return request({
url: '/api/v1/system/logout',
method: 'get',
});
}