提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.platform; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.PageDto; |
|
5 |
import com.hz.his.dto.card.CardQueryDto; |
|
6 |
import com.hz.his.dto.project.ProjectQueryDto; |
|
7 |
import org.springframework.cloud.openfeign.FeignClient; |
|
8 |
import org.springframework.web.bind.annotation.PostMapping; |
|
9 |
import org.springframework.web.bind.annotation.RequestBody; |
|
10 |
|
|
11 |
/** |
|
12 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
13 |
*/ |
|
14 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-cardItem") |
|
15 |
public interface SPhipCardItemService { |
|
16 |
|
|
17 |
/** |
|
18 |
* 开放平台-卡项列表 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/card/list") |
|
21 |
Result cardList(@RequestBody CardQueryDto cardQueryDto); |
|
22 |
|
|
23 |
/** |
|
24 |
* 开放平台-卡项详情 |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/card/detail") |
|
27 |
Result cardDetail(@RequestBody CardQueryDto cardQueryDto); |
|
28 |
|
|
29 |
} |