提交 | 用户 | age
|
b086f8
|
1 |
package com.hz.his.feign.service.platform; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.activity.ActivityDto; |
|
5 |
import com.hz.his.dto.card.CardBagDto; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
|
13 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user-card") |
|
14 |
public interface SPhipUserCardService { |
|
15 |
|
|
16 |
/** |
|
17 |
* 开放平台-卡包列表 |
|
18 |
*/ |
|
19 |
@PostMapping(value = "/user/card/cardBag/list") |
|
20 |
Result cardBagList(@RequestBody CardBagDto cardBagDto); |
|
21 |
|
|
22 |
/** |
|
23 |
* 开放平台-卡包延期 |
|
24 |
*/ |
|
25 |
@PostMapping(value = "/user/card/delay/cardBag") |
|
26 |
Result delayCardBag(@RequestBody CardBagDto cardBagDto); |
|
27 |
|
3e2664
|
28 |
/** |
C |
29 |
* 开放平台-卡包可抵扣信息 |
|
30 |
* @return 转化对象UserCardVo |
|
31 |
*/ |
|
32 |
@PostMapping(value = "/user/card/get/deduction-data") |
|
33 |
Result deductionData(@RequestBody CardBagDto cardBagDto); |
b086f8
|
34 |
|
F |
35 |
|
|
36 |
} |