mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
2.1.3
This commit is contained in:
@@ -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("白雪公主");
|
||||
|
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user