/// <summary> /// 获取所有活动列表 /// </summary> /// <param name="request"></param> /// <returns>活动List</returns> public override async ValueTask <OperationResult <PagedModel <GetActivityResponse> > > GetActivityListAsync( [FromBody] GetActivityListRequest request) { if (request.PageSize <= 0 || request.CurrentPage <= 0) { return(OperationResult.FromError <PagedModel <GetActivityResponse> >("-1", "页长页码传参不正确")); } var result = await _IActivityManager.GetActivityListAsync(request, HttpContext.RequestAborted).ConfigureAwait(false); return(OperationResult.FromResult(result)); }