| | |
| | | package com.hz.his.feign.service.platform; |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.his.dto.coupon.CouponAddDto; |
| | | import com.hz.his.dto.coupon.CouponDto; |
| | | import com.hz.his.dto.coupon.CouponSendDto; |
| | | import com.hz.his.dto.coupon.OrderSendCouponDto; |
| | |
| | | Result orderSendCoupon(@RequestBody OrderSendCouponDto couponDto); |
| | | |
| | | |
| | | |
| | | /** |
| | | * 开放平台-校验优惠券是否存在 创建或者更新 |
| | | */ |
| | | @PostMapping(value = "/coupon/check/create") |
| | | Result couponCheckCreate(@RequestBody CouponAddDto couponAddDto); |
| | | |
| | | /** |
| | | * 开放平台- 校验优惠券剩余数量 |
| | | */ |
| | | @PostMapping(value = "/coupon/check/surplus/num") |
| | | Result checkCouponSurplusNum(@RequestBody CouponDto couponDto); |
| | | |
| | | } |