diff --git a/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java b/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java index 291ffc90..46c857be 100644 --- a/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java +++ b/renren-admin/src/main/java/io/renren/modules/demandComment/controller/TDemandCommentController.java @@ -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>().ok(page); } - @GetMapping("{id}") + @GetMapping("/{id}") @ApiOperation("信息") // @RequiresPermissions("demandComment:tdemandcomment:info") public Result 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")