import {apiClient} from "../../../../../api/apiClient.ts"; import type {AuthorRoleMenuSearchParams} from "../type/authorRoleMenu.types.ts"; export async function fetchAuthorRoleMenuList(params: AuthorRoleMenuSearchParams) { return apiClient.get(`/sym/mnu/mcm/list.do`, params); } export async function fetchAuthorRoleMenuDetail(authorCode: string) { return apiClient.get(`/sym/mnu/mcm/detail?authorCode=${authorCode}`); }