提交 | 用户 | 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.consumables.GoodsQueryDto; |
|
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 |
*/ |
39a067
|
14 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-project") |
ddd881
|
15 |
public interface SPhipProjectService { |
F |
16 |
|
|
17 |
/** |
|
18 |
* 开放平台-项目分类列表 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/project/type/list") |
|
21 |
Result projectTypeList(@RequestBody PageDto pageDto); |
|
22 |
|
|
23 |
/** |
|
24 |
* 开放平台-项目列表 |
|
25 |
*/ |
|
26 |
@PostMapping(value = "/project/list") |
|
27 |
Result projectList(@RequestBody ProjectQueryDto projectQueryDto); |
|
28 |
|
|
29 |
|
|
30 |
/** |
|
31 |
* 开放平台-项目详情 |
|
32 |
*/ |
|
33 |
@PostMapping(value = "/project/detail") |
|
34 |
Result projectDetail(@RequestBody ProjectQueryDto projectQueryDto); |
|
35 |
|
|
36 |
} |