...
This commit is contained in:
parent
d533df53c0
commit
444b96b312
|
@ -36,7 +36,7 @@ import java.util.Map;
|
|||
* @since 1.0 2022-04-26
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("demandComment/tdemandcomment")
|
||||
@RequestMapping("demandComment")
|
||||
@Api(tags = "需求评论")
|
||||
public class TDemandCommentController {
|
||||
@Autowired
|
||||
|
@ -44,7 +44,7 @@ public class TDemandCommentController {
|
|||
@Autowired
|
||||
private TDemandDataService tDemandDataService;
|
||||
|
||||
@GetMapping("page")
|
||||
@GetMapping("/page")
|
||||
@ApiOperation("分页")
|
||||
@ApiImplicitParams({
|
||||
@ApiImplicitParam(name = Constant.PAGE, value = "当前页码,从1开始", paramType = "query", required = true, dataType = "int"),
|
||||
|
@ -60,7 +60,7 @@ public class TDemandCommentController {
|
|||
return new Result<PageData<TDemandCommentDTO>>().ok(page);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@GetMapping("/{id}")
|
||||
@ApiOperation("信息")
|
||||
// @RequiresPermissions("demandComment:tdemandcomment:info")
|
||||
public Result<TDemandCommentDTO> get(@PathVariable("id") Long id) {
|
||||
|
@ -115,7 +115,7 @@ public class TDemandCommentController {
|
|||
return new Result();
|
||||
}
|
||||
|
||||
@GetMapping("export")
|
||||
@GetMapping("/export")
|
||||
@ApiOperation("导出")
|
||||
@LogOperation("导出")
|
||||
@RequiresPermissions("demandComment:tdemandcomment:export")
|
||||
|
|
Loading…
Reference in New Issue