提交 | 用户 | 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.user.UserParamDto; |
|
7 |
import com.hz.his.dto.user.UserUnionDto; |
|
8 |
import org.springframework.cloud.openfeign.FeignClient; |
|
9 |
import org.springframework.web.bind.annotation.PostMapping; |
|
10 |
import org.springframework.web.bind.annotation.RequestBody; |
|
11 |
|
|
12 |
/** |
|
13 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
14 |
*/ |
314a4b
|
15 |
@FeignClient(name="phi-platform-user",path = "/phip",contextId = "phip-consumable") |
ddd881
|
16 |
public interface SPhipConsumableService { |
F |
17 |
|
|
18 |
/** |
|
19 |
* 开放平台-耗材分类列表 |
|
20 |
*/ |
|
21 |
@PostMapping(value = "/goods/type/list") |
|
22 |
Result goodsTypeList(@RequestBody PageDto pageDto); |
|
23 |
|
|
24 |
/** |
|
25 |
* 开放平台-耗材列表 |
|
26 |
*/ |
|
27 |
@PostMapping(value = "/goods/list") |
|
28 |
Result goodsList(@RequestBody GoodsQueryDto goodsQueryDto); |
|
29 |
|
|
30 |
|
|
31 |
/** |
|
32 |
* 开放平台-耗材详情 |
|
33 |
*/ |
|
34 |
@PostMapping(value = "/goods/detail") |
|
35 |
Result goodsDetail(@RequestBody GoodsQueryDto goodsQueryDto); |
|
36 |
|
|
37 |
} |