import apiClient from "../client" import type { User, UserResponse } from "./types" import { normalizeUser } from "./user" /** * 获取当前用户 */ export const getCurrentUser = async (): Promise => { const response = await apiClient.get("/auth/me") return normalizeUser(response.data) }