| | |
| | | model.addAttribute("goodsCategoryVo", data); |
| | | return FebsUtil.view("modules/product/categoryUpdate"); |
| | | } |
| | | |
| | | /** |
| | | * App商品分类列表 |
| | | * @return |
| | | */ |
| | | @GetMapping("categoryAppList") |
| | | @RequiresPermissions("categoryAppList:view") |
| | | public String categoryAppList() { |
| | | return FebsUtil.view("modules/product/categoryAppList"); |
| | | } |
| | | /** |
| | | * 商品分类-新增 |
| | | * @return |
| | | */ |
| | | @GetMapping("categoryAppAdd") |
| | | @RequiresPermissions("categoryAppAdd:add") |
| | | public String categoryAppAdd() { |
| | | return FebsUtil.view("modules/product/categoryAppAdd"); |
| | | } |
| | | /** |
| | | * 商品分类-详情 |
| | | * @param id |
| | | * @param model |
| | | * @return |
| | | */ |
| | | @GetMapping("categoryAppUpdate/{id}") |
| | | @RequiresPermissions("categoryAppUpdate:update") |
| | | public String categoryAppUpdate(@PathVariable long id, Model model) { |
| | | AdminMallGoodsCategoryVo data = mallGoodsCategoryService.getMallGoodsCategoryInfoById(id); |
| | | model.addAttribute("goodsCategoryVo", data); |
| | | return FebsUtil.view("modules/product/categoryAppUpdate"); |
| | | } |
| | | } |