xuhy
2025-01-07 88ac2574d89aed7c28b9c0370b19b8bb2d0364eb
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java
@@ -34,8 +34,9 @@
   @ResponseBody
   @PostMapping("/getCoupon")
   public BaseResponse<GetCouponResp> getCoupon(GetCouponReq req){
      log.warn("停车获取优惠券请求参数:{}", JSON.toJSONString(req));
      log.info("停车获取优惠券请求参数:{}", JSON.toJSONString(req));
      GetCouponResp coupon = couponService.getCoupon(req);
      log.info("停车获取优惠券结果:{}", JSON.toJSONString(coupon));
      return BaseResponse.ok(coupon);
   }
   
@@ -48,7 +49,7 @@
   @ResponseBody
   @PostMapping("/usedCoupon")
   public BaseResponse usedCoupon(UsedCoupon req){
      log.warn("停车使用优惠券请求参数:{}", JSON.toJSONString(req));
      log.info("停车使用优惠券请求参数:{}", JSON.toJSONString(req));
      couponService.usedCoupon(req);
      return BaseResponse.ok();
   }