api.js 480 Bytes
import
{ roleTest,
  deleteRoleById,
  deleteUserRoleById,
  getRoleDetail,
  getRoleList,
  isRoleNameExit,
  addRole,
  selectMenuTreeRoleId,
  selectUserRoleByRoleId,
  updateRole
} from './roleApi'

import
{
  getUserInfo
} from './userApi'

export
{
  // role接口
  roleTest,
  deleteRoleById,
  deleteUserRoleById,
  getRoleDetail,
  getRoleList,
  isRoleNameExit,
  addRole,
  selectMenuTreeRoleId,
  selectUserRoleByRoleId,
  updateRole,
  // user接口
  getUserInfo
}