| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-coupon-quota-config") |
| | | @FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-coupon-quota-config") |
| | | public interface SPhipCouponQuotaConfigService { |
| | | |
| | | /** |
| | | * 开放平台-校验优惠券是否存在 创建或者更新 |
| | | */ |
| | | @PostMapping(value = "/coupon/quota/config/info") |
| | | Result getConfigInfo(@RequestBody CouponAddDto couponAddDto); |
| | | @PostMapping(value = "/coupon/quota/config/check/apply") |
| | | Result checkQuotaApply(@RequestBody CouponAddDto couponAddDto); |
| | | |
| | | |
| | | } |