| | |
| | | private AppUserClient appUserClient; |
| | | //查看详情 |
| | | @PostMapping("/detail") |
| | | @ApiOperation(value = "详情", tags = {"后台-优惠劵"}) |
| | | @ApiOperation(value = "活动管理-优惠劵管理-详情", tags = {"管理后台"}) |
| | | public R<CouponInfo> detail(@RequestParam("id") Integer id){ |
| | | CouponInfo byId = couponInfoService.getById(id); |
| | | return R.ok(byId); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/gift/list") |
| | | @GetMapping("/gift/list") |
| | | @ApiOperation(value = "待领取列表", tags = {"小程序-个人中心-优惠劵"}) |
| | | public R<List<CouponInfo>> giftlist(){ |
| | | Long userid = tokenService.getLoginUserApplet().getUserid(); |