/// <summary> /// 获取权限 /// </summary> /// <param name="query">查询对象</param> /// <returns></returns> public Authority GetAuthority(IQuery query) { var authority = authRepository.Get(query); return(authority); }