This commit is contained in:
tanghc
2019-09-25 17:13:07 +08:00
parent bfe09e26a6
commit 51ca5ba319
2 changed files with 6 additions and 0 deletions

View File

@@ -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("白雪公主");

View File

@@ -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;
}