| | |
| | | */ |
| | | @GetMapping("goodsList") |
| | | @RequiresPermissions("goodsList:view") |
| | | public String categoryList() { |
| | | public String goodsList() { |
| | | return FebsUtil.view("modules/goods/goodsList"); |
| | | } |
| | | |
| | |
| | | */ |
| | | @GetMapping("goodsAdd") |
| | | @RequiresPermissions("goodsAdd:add") |
| | | public String helpCenterAdd() { |
| | | public String goodsAdd() { |
| | | return FebsUtil.view("modules/goods/goodsAddNew"); |
| | | } |
| | | |
| | |
| | | model.addAttribute("mailGoodsDetail", data); |
| | | return FebsUtil.view("modules/goods/detailGoods"); |
| | | } |
| | | |
| | | /** |
| | | * 商品-编辑-详情 |
| | | * @param id |
| | | * @param model |
| | | * @return |
| | | */ |
| | | @GetMapping("goodsUpdate/{id}") |
| | | @RequiresPermissions("goodsUpdate:update") |
| | | public String goodsUpdate(@PathVariable long id, Model model) { |
| | | AdminMailGoodsDetailVo data = mallGoodsService.getMallGoodsInfoById(id); |
| | | model.addAttribute("mailGoodsUpdate", data); |
| | | return FebsUtil.view("modules/goods/goodsUpdate"); |
| | | } |
| | | } |