blob: 56152fcfb9ee2c6a806050c8450f40a1e94bd77a [file] [log] [blame]
import type { AxiosResponse } from "axios";
import axios from "axios";
import type { UserInfo } from "./type";
import type { CommonResponse } from "../type";
class UserAPi {
static getMe() :Promise<AxiosResponse<CommonResponse<UserInfo>>> {
return axios.get('/api/user/me');
}
}
export default UserAPi;