const urls = {
    /**
     * 获取菜单列表
     *
     * @author yubaoshan
     * @param parameter
     * @returns {*}
     */
    getMenuList: ['/sysMenu/list', 'get'],

    /**
     * 获取系统菜单树，用于新增，编辑时选择上级节点
     *
     * @author yubaoshan
     * @date 2020/4/23 12:22
     */
    getMenuTree: ['/sysMenu/tree', 'get'],

    /**
     * 增加菜单
     *
     * @author yubaoshan
     * @date 2020/4/24 23:23
     */
    sysMenuAdd: ['/sysMenu/add', 'post'],

    /**
     * 增加菜单
     *
     * @author yubaoshan
     * @date 2020/4/24 23:23
     */
    sysMenuDelete: ['/sysMenu/delete', 'post'],

    /**
     * 查看菜单详情
     *
     * @author yubaoshan
     * @date 2020/4/25 01:11
     */
    sysMenuDetail: ['/sysMenu/detail', 'post'],

    /**
     * 编辑系统菜单
     *
     * @author yubaoshan
     * @date 2020/4/25 01:11
     */
    sysMenuEdit: ['/sysMenu/edit', 'post'],

    /**
     * 获取系统菜单树，用于给角色授权时选择
     *
     * @author yubaoshan
     * @date 2020/6/2 17:30
     */
    SysMenuTreeForGrant: ['/sysMenu/treeForGrant', 'get'],
    /**
     * 根据系统切换菜单
     *
     * @author yubaoshan
     * @date 2020/6/28 15:25
     */
    sysMenuChange: ['/sysMenu/change', 'post'],

}

export default urls