From 444b96b3122951104df57b690bd8fd9d0fdd1efd Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 26 Apr 2022 19:33:24 +0800 Subject: [PATCH] ... --- .../controller/TDemandCommentController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")