Pu Zhibing
5 天以前 3244b550596e0330031b3f4547356927df83b0ad
ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java
@@ -33,9 +33,10 @@
    */
   @ResponseBody
   @PostMapping("/getCoupon")
   public BaseResponse<GetCouponResp> getCoupon(@RequestBody GetCouponReq req){
      log.warn("停车获取优惠券请求参数:{}" + JSON.toJSONString(req));
   public BaseResponse<GetCouponResp> getCoupon(GetCouponReq req){
      log.info("停车获取优惠券请求参数:{}", JSON.toJSONString(req));
      GetCouponResp coupon = couponService.getCoupon(req);
      log.info("停车获取优惠券结果:{}", JSON.toJSONString(coupon));
      return BaseResponse.ok(coupon);
   }
   
@@ -47,8 +48,8 @@
    */
   @ResponseBody
   @PostMapping("/usedCoupon")
   public BaseResponse usedCoupon(@RequestBody UsedCoupon req){
      log.warn("停车使用优惠券请求参数:{}" + JSON.toJSONString(req));
   public BaseResponse usedCoupon(UsedCoupon req){
      log.info("停车使用优惠券请求参数:{}", JSON.toJSONString(req));
      couponService.usedCoupon(req);
      return BaseResponse.ok();
   }