[common/components] feat: 페이지 타이틀 내 도움말 다이얼로그 구현
This commit is contained in:
@@ -42,6 +42,18 @@ export const getMenuList = async (siteId: string): Promise<MenuItem[]> => {
|
||||
return response.json();
|
||||
};
|
||||
|
||||
export const getMenuDetail = async (menuCd: number): Promise<MenuItem> => {
|
||||
const response = await fetch(
|
||||
`${BASE_URL}${ENDPOINT.CMS_SERVICE.MENUS}/${menuCd}`,
|
||||
{
|
||||
method: "GET",
|
||||
headers: getAuthHeaders(),
|
||||
credentials: "include",
|
||||
},
|
||||
);
|
||||
return response.json();
|
||||
};
|
||||
|
||||
export const getPreviewTreeMenuList = async (
|
||||
siteId: string,
|
||||
): Promise<TreeMenu[]> => {
|
||||
|
||||
Reference in New Issue
Block a user