From 2e6c812f367e1c51ec116a2eb1920872b46bfbea Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期一, 07 四月 2025 11:35:51 +0800 Subject: [PATCH] 修改订单支付金额重复添加问题 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponInfoClient.java | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponInfoClient.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponInfoClient.java index 1b447e5..6d36de0 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponInfoClient.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponInfoClient.java @@ -25,4 +25,13 @@ */ @PostMapping("/coupon-info/getCouponInfoList") R<List<CouponInfo>> getCouponInfoList(@RequestParam("ids") List<Integer> ids); + + + /** + * 根据类型获取有效优惠券列表 + * @param personType + * @return + */ + @PostMapping("/coupon-info/getCouponInfoByPersonType") + R<List<CouponInfo>> getCouponInfoByPersonType(@RequestParam("personType") Integer personType); } -- Gitblit v1.7.1