| | |
| | | package com.dsh.course.feignclient.activity; |
| | | |
| | | import com.dsh.course.feignclient.activity.model.SendCouponReq; |
| | | import com.dsh.course.feignclient.activity.model.UserCoupon; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | */ |
| | | @PostMapping("/userCoupon/queryUserCouponById") |
| | | UserCoupon queryUserCouponById(Long id); |
| | | |
| | | /** |
| | | * 送优惠券 |
| | | * @param sendCouponReq |
| | | */ |
| | | @PostMapping("/userCoupon/sendUserCoupon") |
| | | void sendUserCoupon(SendCouponReq sendCouponReq); |
| | | } |