Exemplo n.º 1
0
        /// <summary>
        /// 获取角色关联的所有导航id集合
        /// </summary>
        /// <param name="roleId"></param>
        /// <param name="cancellationToken"></param>
        /// <returns></returns>
        public async Task <Result <IList <long> > > GetRoleRelevanceMenuIdsAsync(int roleId, CancellationToken cancellationToken = default)
        {
            var res = await adminRoleService.GetRelevanceMenuIdsAsync(roleId, cancellationToken);

            return(RestFull.Success(data: res));
        }