Commit 3797c9ca authored by 王淑君's avatar 王淑君

增加评论相关接口

parent 4f17f4f5
......@@ -2,6 +2,7 @@ package org.rcisoft.business.bdiscuss.controller;
/*固定导入*/
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
......@@ -28,6 +29,7 @@ import java.util.List;
/**
* Created by on 2019-9-25 9:03:09.
*/
@Api(tags = "8 章节")
@RestController
@RequestMapping("bdiscuss")
public class BDiscussController extends PaginationController<BDiscuss> {
......
......@@ -2,6 +2,7 @@ package org.rcisoft.business.brstudentchapter.controller;
/*固定导入*/
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
......@@ -28,6 +29,7 @@ import java.util.List;
/**
* Created by on 2019-9-25 10:01:43.
*/
@Api("10 章节")
@RestController
@RequestMapping("brstudentchapter")
public class BRStudentChapterController extends PaginationController<BRStudentChapter> {
......@@ -36,7 +38,7 @@ public class BRStudentChapterController extends PaginationController<BRStudentCh
private BRStudentChapterService bRStudentChapterServiceImpl;
@ApiOperation(value="添加/更新", notes="添加/更新")
@ApiOperation(value="1001 添加/更新学生端观看章节进度", notes="添加/更新")
//@ApiImplicitParams({@ApiImplicitParam(name = "businessId", value = "businessId", required = false, dataType = "varchar")})
@PostMapping(value = "/add")
public Result addOrUpdate(@Valid BRStudentChapterDto brStudentChapterDto, BindingResult bindingResult) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment