|  |  |  | 
|---|
|  |  |  | import com.dsh.course.feignclient.activity.model.Coupon; | 
|---|
|  |  |  | import org.springframework.cloud.openfeign.FeignClient; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestBody; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * @author zhibing.pu | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("/coupon/queryCouponById") | 
|---|
|  |  |  | Coupon queryCouponById(Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/base/userConpon/queryCouponRules") | 
|---|
|  |  |  | Map<String,Object> getCouponRules(@RequestBody Integer couponId); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/base/userConpon/getCoupons") | 
|---|
|  |  |  | List<Coupon> getCoupons(String couponIds); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|