luodangjia
2024-10-18 06ea0fe23faf2238d9d1141826ecb404367aecec
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();
   }