Blame view

src/api/demo/account.ts 302 Bytes
1
2
3
4
5
6
7
import { defHttp } from '/@/utils/http/axios';
import { GetAccountInfoModel } from './model/accountModel';

enum Api {
  ACCOUNT_INFO = '/account/getAccountInfo',
}
vben authored
8
// Get personal center-basic settings
Vben authored
9
10
export const accountInfoApi = () => defHttp.get<GetAccountInfoModel>({ url: Api.ACCOUNT_INFO });