feat:增加个人中心:20% 支持左侧的个人信息

This commit is contained in:
YunaiV
2025-04-20 08:04:51 +08:00
parent 1662598488
commit 57c8d88bae
10 changed files with 260 additions and 12 deletions

View File

@@ -1,2 +1 @@
export * from './auth';
export * from './user';

View File

@@ -1,10 +0,0 @@
import type { UserInfo } from '@vben/types';
import { requestClient } from '#/api/request';
/**
* 获取用户信息
*/
export async function getUserInfoApi() {
return requestClient.get<UserInfo>('/system/user/profile/get');
}