package com.dsh.other.feignclient.activity; import com.dsh.other.feignclient.activity.model.Coupon; import com.dsh.other.feignclient.activity.model.PointsMerchandise; import com.dsh.other.model.CouponCity; import com.dsh.other.model.CouponStore; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import java.util.List; /** * @author zhibing.pu * @date 2023/7/5 21:06 */ @FeignClient("mb-cloud-activity") public interface CouponClient { /** * 根据id获取优惠券 * * @param id * @return */ @PostMapping("/coupon/queryCouponById") Coupon queryCouponById(Integer id); @PostMapping("/coupon/queryCouponAll") List queryCouponAll(); @PostMapping("/base/coupon/queryAllStore") List queryAllStore(); @PostMapping("/base/coupon/queryAllCity") List queryAllCity(); @PostMapping("/base/coupon/queryAllPointGoods") List queryAllPointGoods(); }