| | |
| | | /** |
| | | * 分享添加 |
| | | */ |
| | | @ApiOperation(value = "小程序-个人中心-门店管理-分享添加", tags = {"分享添加-小程序"}) |
| | | @ApiOperation(value = "分享添加", tags = {"小程序-个人中心-门店管理-分享添加"}) |
| | | @PostMapping |
| | | public R<Void> add(@RequestBody Share share){ |
| | | share.setAddType(ShareAddType.STORE.getCode()); |
| | |
| | | */ |
| | | @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)); |
| | | } |
| | | |
| | | |