| | |
| | | @DeleteMapping |
| | | @Log("删除店铺类目") |
| | | @ApiOperation("删除店铺类目") |
| | | @PreAuthorize("@el.check('storeCategory:del')" + |
| | | " and @storeMerchantOwnershipService.check(#storeId)") |
| | | /*@PreAuthorize("@el.check('storeCategory:del')" + |
| | | " and @storeMerchantOwnershipService.check(#storeId)")*/ |
| | | public ResponseEntity<?> deleteStoreCategory(@ApiParam(value = "传ID数组[]") @RequestBody List<Long> ids) { |
| | | storeCategoryService.deleteAll(ids); |
| | | return ResponseEntity.noContent().build(); |
| | | } |
| | | |
| | | @PostMapping(value = "/delete") |
| | | @Log("删除店铺类目") |
| | | @ApiOperation("删除店铺类目") |
| | | /*@PreAuthorize("@el.check('storeCategory:del')" + |
| | | " and @storeMerchantOwnershipService.check(#storeId)")*/ |
| | | public ResponseEntity<?> delStoreCategory(@ApiParam(value = "传ID数组[]") @RequestBody List<Long> ids) { |
| | | storeCategoryService.deleteAll(ids); |
| | | return ResponseEntity.noContent().build(); |
| | | } |
| | | } |