| | |
| | | package com.dsh.other.feignclient.activity; |
| | | |
| | | import com.dsh.other.feignclient.activity.model.Coupon; |
| | | import com.dsh.other.feignclient.activity.model.QueryUserCouponByIdAndUserId; |
| | | import com.dsh.other.feignclient.activity.model.UserCoupon; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | |
| | | /** |
| | |
| | | @FeignClient("mb-cloud-activity") |
| | | public interface UserCouponClient { |
| | | |
| | | |
| | | /** |
| | | * 根据id修改门票使用状态 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @GetMapping("/userCoupon/changeTicketStatus/{id}") |
| | | void changeTicketStatus(@PathVariable("id") String id); |
| | | /** |
| | | * 根据id获取用户优惠券数据 |
| | | * |