diff --git a/hai-bweb/src/main/java/com/bweb/controller/HighDiscountCouponRelController.java b/hai-bweb/src/main/java/com/bweb/controller/HighDiscountCouponRelController.java index c1687b5f..4dd37fa9 100644 --- a/hai-bweb/src/main/java/com/bweb/controller/HighDiscountCouponRelController.java +++ b/hai-bweb/src/main/java/com/bweb/controller/HighDiscountCouponRelController.java @@ -91,7 +91,7 @@ public class HighDiscountCouponRelController { @RequestMapping(value="/delete",method = RequestMethod.GET) @ResponseBody @ApiOperation(value = "删除") - public ResponseData delete(@RequestParam(name = "id", required = false) Long id){ + public ResponseData delete(@RequestParam(name = "id", required = true) Long id){ try { HighDiscountCouponRel rel = highDiscountCouponRelService.getRelById(id);