diff --git a/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/CategoryController.cs b/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/CategoryController.cs index ddc5729..b0a0995 100644 --- a/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/CategoryController.cs +++ b/src/2-api/HuanMeng.MiaoYu.WebApi/Controllers/CategoryController.cs @@ -49,11 +49,15 @@ namespace HuanMeng.MiaoYu.WebApi.Controllers } /// - /// 获取推荐页数据 + /// 获取推荐页数据 + /// 返回的data是一个数组,当数组中的对象type为banner,data类型看201,当数组中的对象type为tuijian、xiaoshuo时,data类型看202 /// /// [HttpGet] [AllowAnonymous] + [ProducesResponseType(typeof(BaseResponse>>), StatusCodes.Status200OK)] + [ProducesResponseType(typeof(CommonRecommendData), StatusCodes.Status201Created)] + [ProducesResponseType(typeof(DataListDto), StatusCodes.Status202Accepted)] public BaseResponse>> GetCategoryFindList() { CategoryBLL categoryBLL = new CategoryBLL(ServiceProvider);