import request from '@/request'

/**
 * 获取角色列表
 */
export const queryRoleList = (): Promise<
  ResponseData<
    {
      roleName: string
      roleId: string
    }[]
  >
> => {
  return request.get('/system/roleList')
}
