Pu Zhibing
2025-01-23 792cbb986fb8c32f6bbc1638c4ae264372e7a28f
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/CouponClient.java
@@ -8,6 +8,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@@ -28,4 +29,13 @@
   R<TCoupon> getCouponById1(@PathVariable("id") Integer id);
   @PostMapping("/t-coupon/getCouponIdsByName/{name}")
    R<List<Integer>> getCouponIdsByName(@PathVariable("name")String name);
   /**
    * 修改优惠券
    * @param coupon
    * @return
    */
   @PostMapping("/t-coupon/updateCoupon")
   R updateCoupon(@RequestBody TCoupon coupon);
}