| | |
| | | @GetMapping("goodsCouponList") |
| | | @RequiresPermissions("goodsCouponList:view") |
| | | public String goodsCouponList() { |
| | | return FebsUtil.view("modules/goods/goodsCoupon"); |
| | | return FebsUtil.view("modules/goods/goodsCouponList"); |
| | | } |
| | | |
| | | /** |
| | | * 优惠卷列表-新增 |
| | | */ |
| | | @GetMapping("goodsCouponAdd") |
| | | @RequiresPermissions("goodsCouponAdd:add") |
| | | public String goodsCouponAdd() { |
| | | return FebsUtil.view("modules/goods/goodsCouponAdd"); |
| | | } |
| | | |
| | | /** |
| | | * 优惠卷列表-编辑-详情 |
| | | */ |
| | | @GetMapping("goodsCouponUpdate/{id}") |
| | | @RequiresPermissions("goodsCouponUpdate:update") |
| | | public String goodsCouponUpdate(@PathVariable long id, Model model) { |
| | | AdminMallGoodsCouponVo adminMallGoodsCouponVo = mallGoodsService.selectGoodsCouponById(id); |
| | | model.addAttribute("couponRule", adminMallGoodsCouponVo); |
| | | return FebsUtil.view("modules/goods/goodsCouponUpdate"); |
| | | } |
| | | } |