luodangjia
2024-10-28 9642685a6b563756a1d0e7f65de9a03d6e662e8d
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java
@@ -34,7 +34,7 @@
   @ResponseBody
   @PostMapping("/getCoupon")
   public BaseResponse<GetCouponResp> getCoupon(@RequestBody GetCouponReq req){
      log.info("停车获取优惠券请求参数:{}" + JSON.toJSONString(req));
      log.warn("停车获取优惠券请求参数:{}" + JSON.toJSONString(req));
      GetCouponResp coupon = couponService.getCoupon(req);
      return BaseResponse.ok(coupon);
   }
@@ -48,7 +48,7 @@
   @ResponseBody
   @PostMapping("/usedCoupon")
   public BaseResponse usedCoupon(@RequestBody UsedCoupon req){
      log.info("停车使用优惠券请求参数:{}" + JSON.toJSONString(req));
      log.warn("停车使用优惠券请求参数:{}" + JSON.toJSONString(req));
      couponService.usedCoupon(req);
      return BaseResponse.ok();
   }