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