diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java index c1e525ab..d9121ec6 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/AlipayController.java @@ -231,6 +231,7 @@ public class AlipayController { @ApiOperation(value = "获取分类信息", notes = "演示表格树") @ApiMapping(value = "alipay.category.get", method = RequestMethod.POST) public CategoryResult getCategory(CategoryParam param) { + System.out.println(param); StoryResult result = new StoryResult(); result.setId(1L); result.setName("白雪公主"); diff --git a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/CategoryParam.java b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/CategoryParam.java index 9787d163..12b56289 100644 --- a/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/CategoryParam.java +++ b/sop-example/sop-story/sop-story-web/src/main/java/com/gitee/sop/storyweb/controller/param/CategoryParam.java @@ -3,11 +3,16 @@ package com.gitee.sop.storyweb.controller.param; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import java.util.Date; + @Data public class CategoryParam { @ApiModelProperty(value = "分类名称", example = "娱乐") private String categoryName; + @ApiModelProperty(value = "创建时间", example = "2019-09-25 17:12:52") + private Date createTime; + @ApiModelProperty(value = "分类故事") private StoryParam storyParam; } \ No newline at end of file