Blame view

src/api/demo/account.ts 410 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { defHttp } from '/@/utils/http/axios';
import { GetAccountInfoModel } from './model/accountModel';

enum Api {
  ACCOUNT_INFO = '/account/getAccountInfo',
  SECURE_LIST = '/account/getSecureList',
}

// 获取个人中心--基础设置内容
export function accountInfoApi(params: any) {
  return defHttp.request<GetAccountInfoModel>({
    url: Api.ACCOUNT_INFO,
    method: 'GET',
    params,
  });
}