File size: 254 Bytes
dc649b1
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import type { UserInfo } from '@vben/types';

import { requestClient } from '#/api/request';

/**
 * 获取用户信息 → GET /admin/auth/user-info
 */
export async function getUserInfoApi() {
  return requestClient.get<UserInfo>('/auth/user-info');
}