| | |
| | | @ApiOperation("查询店铺类目") |
| | | //@PreAuthorize("@el.check('merchant:storeCategory:list')" + |
| | | // " and @storeMerchantOwnershipService.check(#storeId)") |
| | | public ResponseEntity<?> getList(@PathVariable Long storeId, |
| | | public ResponseEntity<?> getStoreCategories(@PathVariable Long storeId, |
| | | @RequestParam(value = "recursive", required = false) Boolean recursive) { |
| | | |
| | | StoreCategoryQueryCriteria criteria = new StoreCategoryQueryCriteria(); |
| | |
| | | @ApiOperation("查询店铺类目") |
| | | //@PreAuthorize("@el.check('merchant:storeCategory:list')" + |
| | | // " and @storeMerchantOwnershipService.check(#storeId)") |
| | | public ResponseEntity<?> getById(@PathVariable Long categoryId, |
| | | public ResponseEntity<?> getStoreCategoryById(@PathVariable Long categoryId, |
| | | @RequestParam(value = "recursive", required = false) Boolean recursive) { |
| | | |
| | | StoreCategory storeCategory = storeCategoryService.getById(categoryId); |