初始化项目

This commit is contained in:
2025-11-20 09:10:35 +08:00
parent b60a4fe9f4
commit a96be99a54
254 changed files with 40718 additions and 0 deletions

33
src/api/login/index.ts Normal file
View File

@@ -0,0 +1,33 @@
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',
});
}