无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.dsh.other.feignclient.activity;
 
import com.dsh.other.feignclient.activity.model.Coupon;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @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);
}