/// <summary> /// 批量删除授权api /// </summary> /// <param name="list"></param> /// <returns></returns> public async Task <Result> BatchDelete(List <Api> list) { bool isdDelete = await _apiRepository.BatchDeleteAsync(list); if (!isdDelete) { return(Result.ReFailure(ResultCodes.PermissionSysApiDeleteError)); } return(Result.ReSuccess()); }