重写复现方法

This commit is contained in:
2025-09-01 18:18:44 +08:00
parent 7c11c1519b
commit 5d3d515b8e
41 changed files with 4249 additions and 5952 deletions

14
capi-ui/src/api/auth.ts Normal file
View File

@@ -0,0 +1,14 @@
import request from '@/utils/request'
export interface LoginParams {
account: string
password: string
}
export interface LoginResult {
token: string
}
/** 登录接口 */
export const apiLogin = (data: LoginParams) =>
request.post<LoginResult>('/Sys/login/userLogin', data)