初始化仓库

This commit is contained in:
tao
2025-12-17 17:00:29 +08:00
commit 71158afc35
44 changed files with 5301 additions and 0 deletions

19
src/api/system/index.ts Normal file
View File

@@ -0,0 +1,19 @@
import request from '../request'
import type { LoginInfo } from './model';
// 用户登录
export function login(data: LoginInfo) {
return request({
url: '/login',
method: 'post',
data
})
}
// 获取验证码
export function getCaptcha() {
return request({
url: '/captchaImage',
method: 'get'
})
}

6
src/api/system/model.d.ts vendored Normal file
View File

@@ -0,0 +1,6 @@
export interface LoginInfo {
username: string
password: string
uuid: string
code: string
}