feat: 个人信息页面.

This commit is contained in:
lijiahang
2023-10-31 19:07:48 +08:00
parent 6c9aabd4fd
commit 3fef9b8ae2
42 changed files with 647 additions and 148 deletions

View File

@@ -1,7 +1,7 @@
import axios from 'axios';
/**
* 登请求
* 登请求
*/
export interface LoginRequest {
username?: string;
@@ -9,7 +9,7 @@ export interface LoginRequest {
}
/**
* 登响应
* 登响应
*/
export interface LoginResponse {
token: string;
@@ -24,7 +24,7 @@ export interface UserUpdatePasswordRequest {
}
/**
* 登
* 登
*/
export function login(data: LoginRequest) {
return axios.post<LoginResponse>('/infra/auth/login', data);