| | |
| | | import com.ruoyi.account.api.factory.UserCouponClientFallbackFactory; |
| | | import com.ruoyi.account.api.vo.CouponInfoVo; |
| | | import com.ruoyi.account.api.vo.PaymentUserCoupon; |
| | | import com.ruoyi.account.api.vo.PaymentUserCouponVo; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * @return |
| | | */ |
| | | @PostMapping("/user-coupon/getPaymentUserCoupon") |
| | | R<List<CouponInfoVo>> getPaymentUserCoupon(@RequestBody PaymentUserCoupon paymentUserCoupon); |
| | | R<List<PaymentUserCouponVo>> getPaymentUserCoupon(@RequestBody PaymentUserCoupon paymentUserCoupon); |
| | | |
| | | |
| | | /** |
| | | * 根据用户优惠券id获取优惠券详情 |
| | | * @param userCouponId |
| | | * @return |
| | | */ |
| | | @PostMapping("/user-coupon/getCouponInfo") |
| | | R<CouponInfoVo> getCouponInfo(@RequestParam("userCouponId") Long userCouponId); |
| | | } |