From 11acaaf1e2e5e71dff57a788fb26b263bcd117b7 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期五, 01 十一月 2024 20:16:31 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java b/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java index 13579c4..30b9ded 100644 --- a/ruoyi-service/ruoyi-integration/src/main/java/com/ruoyi/integration/barrierGate/controller/CouponController.java +++ b/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(); } -- Gitblit v1.7.1