| | |
| | | /** |
| | | * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
| | | */ |
| | | @FeignClient(name="phis-provider",path = "/p-his-data",contextId = "limit") |
| | | @FeignClient(name="phi-platform-user",path = "/p-his-data",contextId = "limit") |
| | | public interface SLimitService { |
| | | |
| | | /** |
| | |
| | | @PostMapping(value = "/goods/limit") |
| | | Result getLimitInfo(@RequestParam("limitId") String limitId); |
| | | |
| | | |
| | | /** |
| | | * 获取限购数量 |
| | | * @param commonId 公共标识 |
| | | * @return Result |
| | | */ |
| | | @PostMapping(value = "/goods/limit/one") |
| | | Result getLimitTotal(@RequestParam("commonId") String commonId); |
| | | |
| | | /** |
| | | * 获取平台限制信息 |
| | | * @param limitId 限制标识 |