| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "coupon") |
| | | @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "coupon") |
| | | public interface SCouponService { |
| | | |
| | | /** |
| | |
| | | @PostMapping(value = "/couponType/list") |
| | | Result couponTypeList(@RequestBody(required = false) CouponTypeDto couponTypeDto); |
| | | |
| | | |
| | | /** |
| | | * 查询优惠券剩余数量 多个 |
| | | /*** |
| | | * 查询优惠券可用项目 |
| | | */ |
| | | @PostMapping(value = "/check/coupon/surplus/num") |
| | | Result checkCouponSurplusNum(@RequestBody(required = false) CouponDto dto); |
| | | @PostMapping(value = "/coupon/usable/project/list") |
| | | Result couponUsableProjectList(@RequestBody(required = false) CouponDto dto); |
| | | |
| | | /*** |
| | | * 查询用户优惠券 是否有今年发放指定的生日券 |
| | | */ |
| | | @PostMapping(value = "/coupon/birthday/list/user") |
| | | Result userBirthDayCouponList(@RequestBody(required = false) CouponDto dto); |
| | | |
| | | |
| | | |
| | | } |