From a981c07d34edd0975b9d556d97c1f851ce79974c Mon Sep 17 00:00:00 2001 From: luodangjia <luodangjia> Date: 星期三, 04 十二月 2024 13:40:00 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java index 8b75af1..db05155 100644 --- a/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java +++ b/ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/controller/ShareController.java @@ -25,7 +25,7 @@ * @author luodangjia * @since 2024-11-20 */ -@Api("分享") +@Api(tags = "分享") @RestController @RequestMapping("/share") public class ShareController extends BaseController { @@ -49,7 +49,7 @@ /** * 分享添加 */ - @ApiOperation(value = "小程序-个人中心-门店管理-分享添加", tags = {"分享添加-小程序"}) + @ApiOperation(value = "分享添加", tags = {"小程序-个人中心-门店管理-分享添加"}) @PostMapping public R<Void> add(@RequestBody Share share){ share.setAddType(ShareAddType.STORE.getCode()); @@ -86,9 +86,8 @@ */ @ApiOperation(value = "分享详情", tags = {"小程序-个人中心-门店管理-分享详情-小程序"}) @GetMapping("/detail/{id}") - public R<Void> detail(@PathVariable("id") Integer id){ - shareService.getById(id); - return R.ok(); + public R<Share> detail(@PathVariable("id") Integer id){ + return R.ok(shareService.getById(id)); } -- Gitblit v1.7.1