From 51ca5ba3193f4a22a7752e4255e69afab2beac14 Mon Sep 17 00:00:00 2001 From: tanghc Date: Wed, 25 Sep 2019 17:13:07 +0800 Subject: [PATCH] 2.1.3 --- .../com/gitee/sop/storyweb/controller/AlipayController.java | 1 + .../gitee/sop/storyweb/controller/param/CategoryParam.java | 5 +++++ 2 files changed, 6 insertions(+) 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