| | |
| | | /** |
| | | * 这里这个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 = "/user/birthday/coupon/list") |
| | | @PostMapping(value = "/coupon/birthday/list/user") |
| | | Result userBirthDayCouponList(@RequestBody(required = false) CouponDto dto); |
| | | |
| | | |
| | | /** |
| | | * 获取优惠券领取规则列表 |
| | | */ |
| | | @PostMapping(value = "/coupon/receive/rule/list") |
| | | Result getReceiveRuleList(); |
| | | |
| | | } |