From e23595f588e26831ca20c4824471b5d5da79dd16 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期四, 22 八月 2024 09:42:50 +0800 Subject: [PATCH] 微信登录 --- ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TAppCouponController.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TAppCouponController.java b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TAppCouponController.java index 4cf21b6..f529267 100644 --- a/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TAppCouponController.java +++ b/ruoyi-service/ruoyi-account/src/main/java/com/ruoyi/account/controller/TAppCouponController.java @@ -7,8 +7,7 @@ import com.ruoyi.account.api.model.TAppCoupon; import com.ruoyi.account.api.model.TAppUserCar; import com.ruoyi.account.api.query.ExchangeRecordGoodsQuery; -import com.ruoyi.account.api.vo.CarListVO; -import com.ruoyi.account.api.vo.CouponListVOVO; +import com.ruoyi.other.api.vo.CouponListVOVO; import com.ruoyi.account.api.vo.ExchangeRecordVO; import com.ruoyi.account.service.TAppCouponService; import com.ruoyi.account.service.TAppUserCarService; @@ -45,8 +44,6 @@ public class TAppCouponController { @Autowired private TAppCouponService tAppCouponService; - @Autowired - private OtherClient otherClient; @Autowired private TAppUserCarService appUserCarService; @@ -126,7 +123,7 @@ * @return 优惠券ids 查询每个优惠券的发放数量 */ @PostMapping("/getCountByCouponIds") - public R<List<Integer>> getCountByCouponIds(String couponIds) { + public R<List<Integer>> getCountByCouponIds(@RequestParam("couponIds") String couponIds) { // 最终结果 和优惠券id一一对应 List<Integer> res = new ArrayList<>(); String[] split = couponIds.split(","); -- Gitblit v1.7.1