| | |
| | | import com.dsh.guns.modular.system.model.CouponDataVo; |
| | | import com.dsh.guns.modular.system.model.CouponStore; |
| | | import com.dsh.guns.modular.system.model.dto.VipDetailDto; |
| | | import com.dsh.guns.modular.system.model.dto.VipPaymentDto; |
| | | import com.dsh.guns.modular.system.model.vo.VipDetailVO; |
| | | import com.dsh.guns.modular.system.model.vo.VipPaymentListVO; |
| | | 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; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | |
| | | |
| | | @FeignClient(value = "mb-cloud-activity") |
| | | public interface CouponClient { |
| | | |
| | | /** |
| | | * 批量查询已核销优惠券的抵扣金额。 |
| | | * |
| | | * @param query 用户优惠券领取记录 ID 集合 |
| | | * @return 每条优惠券领取记录对应的抵扣金额 |
| | | */ |
| | | @PostMapping("/base/userCoupon/queryDeductionAmounts") |
| | | List<CouponDeductionVO> queryDeductionAmounts(@RequestBody CouponDeductionQuery query); |
| | | |
| | | /** 所有已支付的积分+现金优惠券购买订单(平台营收统计使用)。 */ |
| | | @PostMapping("/base/userCouponPayment/listPaid") |
| | | List<UserCouponPayment> listPaidCouponPayments(); |
| | | |
| | | |
| | | @PostMapping("/base/coupon/queryCouponListSearch") |
| | |
| | | |
| | | @PostMapping("/base/coupon/updateType") |
| | | void updateType(Long id); |
| | | @GetMapping("/base/coupon/updateTypeOther/{id}/{operatorId}/{storeId}/{siteId}") |
| | | void updateTypeOther(@PathVariable("id")Long id,@PathVariable("operatorId")Integer operatorId, |
| | | @PathVariable("storeId")Integer storeId,@PathVariable("siteId")Integer siteId); |
| | | @PostMapping("/base/pointMerchars/goodsList") |
| | | List<PointsMerchandise> goodsList(); |
| | | @PostMapping("/base/coupon/vipDetail") |
| | | List<VipDetailVO> vipDetail(VipDetailDto vipDetailDto); |
| | | List<VipDetailVO> vipDetail(@RequestBody VipDetailDto vipDetailDto); |
| | | @PostMapping("/base/coupon/vipPayment") |
| | | List<VipPaymentListVO> vipPayment(@RequestBody VipPaymentDto vipPaymentDto); |
| | | } |