| 12345678910111213141516 |
- import { AccountManage } from "@/api/interface/system/accountManage";
- import { PORT1 } from "@/api/config/servicePort";
- import http from "@/api";
- /**
- * @name 账号管理模块
- */
- // 获取账户信息
- export const getAccountInfo = () => {
- return http.get<AccountManage.ResAccountInfo>(PORT1 + `/account-info`);
- };
- // 保存账户信息
- export const postAccountInfo = (params: AccountManage.ReqSaveAccount) => {
- return http.post(PORT1 + `/account-info`, params);
- };
|