5 changed files with 4 additions and 28 deletions
@ -1,14 +0,0 @@
|
||||
import { defHttp } from '@/utils/http/axios' |
||||
import { getMenuListResultModel } from './model/menuModel' |
||||
|
||||
enum Api { |
||||
GetMenuList = '/system/auth/list-menus' |
||||
} |
||||
|
||||
/** |
||||
* @description: Get user menu based on id |
||||
*/ |
||||
|
||||
export function getMenuList() { |
||||
return defHttp.get<getMenuListResultModel>({ url: Api.GetMenuList }) |
||||
} |
Reference in new issue