| | |
| | | import com.dsh.course.feignclient.activity.model.UserCoupon; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | |
| | | /** |
| | | * 根据id获取用户优惠券数据 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/userCoupon/queryUserCouponById") |
| | | @PostMapping("/userCoupon/queryUserCouponById1") |
| | | UserCoupon queryUserCouponById(Long id); |
| | | |
| | | /** |
| | | * 送优惠券 |
| | | * |
| | | * @param sendCouponReq |
| | | */ |
| | | @PostMapping("/userCoupon/sendUserCoupon") |
| | | void sendUserCoupon(SendCouponReq sendCouponReq); |
| | | |
| | | @PostMapping("/userCoupon/edit") |
| | | void edit(@RequestBody UserCoupon userCoupon); |
| | | } |