2020-11-14 20:34:46 +08:00
|
|
|
import { defHttp } from '/@/utils/http/axios';
|
|
|
|
|
import { GetAccountInfoModel } from './model/accountModel';
|
|
|
|
|
|
|
|
|
|
enum Api {
|
|
|
|
|
ACCOUNT_INFO = '/account/getAccountInfo',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取个人中心--基础设置内容
|
2020-11-15 13:46:16 +08:00
|
|
|
export function accountInfoApi() {
|
2020-11-14 20:34:46 +08:00
|
|
|
return defHttp.request<GetAccountInfoModel>({
|
|
|
|
|
url: Api.ACCOUNT_INFO,
|
|
|
|
|
method: 'GET',
|
|
|
|
|
});
|
|
|
|
|
}
|