xuhy
2024-11-04 c0211a20f4f2d94fe1ac7657284504afa876b8a0
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.info("停车获取优惠券请求参数:{}" + 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.info("停车使用优惠券请求参数:{}" + JSON.toJSONString(req));
   public BaseResponse usedCoupon(UsedCoupon req){
      log.warn("停车使用优惠券请求参数:{}", JSON.toJSONString(req));
      couponService.usedCoupon(req);
      return BaseResponse.ok();
   }