| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-card") |
| | | @FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-user-card") |
| | | public interface SPhipUserCardService { |
| | | |
| | | /** |
| | |
| | | @PostMapping(value = "/user/card/delay/cardBag") |
| | | Result delayCardBag(@RequestBody CardBagDto cardBagDto); |
| | | |
| | | /** |
| | | * 开放平台-卡包可抵扣信息(单条) |
| | | * @return 转化对象UserCardVo |
| | | */ |
| | | @PostMapping(value = "/user/card/get/deduction-data") |
| | | Result deductionData(@RequestBody CardBagDto cardBagDto); |
| | | |
| | | /** |
| | | * 开放平台-卡包可抵扣信息(集合) |
| | | * @return 转化对象userCardMapVo |
| | | */ |
| | | @PostMapping(value = "/user/card/get/deduction-data/list") |
| | | Result deductionDataList(@RequestBody CardBagDto cardBagDto); |
| | | |
| | | } |