const baseURL = import.meta.env.VITE_API_BASE_URL;

const menu = {
  search: `${baseURL}/Menu/Search`,
  getTree: `${baseURL}/Menu/GetAdminTree`,
  createOrUpdate: `${baseURL}/Menu/CreateOrUpdate`,
  getById: `${baseURL}/Menu/GetById?id=`,
  lock: `${baseURL}/Menu/Lock`,
  unLock: `${baseURL}/Menu/UnLock`,
  delete: `${baseURL}/Menu/Delete?id=`,
  getMenuList: `${baseURL}/Menu/GetMenuList?appType=1`,
};

export default menu;
