Pu Zhibing
2024-11-05 63f7a9310dd1649b7ae2bc680a37ac73536be64c
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();
   }