zepengdev
49 mins ago 11f1aaac4aee848dff5d1743baa1ff061da26c58
feat: 增加支持@PostMapping方式的店铺资质删除接口
1 files modified
10 ■■■■■ changed files
oying-system/src/main/java/com/oying/modules/pc/store/rest/StoreQualificationMerchantController.java 10 ●●●●● patch | view | raw | blame | history
oying-system/src/main/java/com/oying/modules/pc/store/rest/StoreQualificationMerchantController.java
@@ -92,4 +92,14 @@
        storeQualificationService.deleteAll(ids);
        return ResponseEntity.noContent().build();
    }
    @PostMapping(value = "/delete")
    @Log("删除店铺资质")
    @ApiOperation("删除店铺资质")
    //@PreAuthorize("@el.check('merchant:storeQualification:batchDel') " +
    //        "and @storeMerchantOwnershipService.check(#storeId)")
    public ResponseEntity<?> batchDelete(@ApiParam(value = "传ID数组[]") @RequestBody List<Long> ids) {
        storeQualificationService.deleteAll(ids);
        return ResponseEntity.noContent().build();
    }
}