fwq
2024-04-02 aca6d6424338f1c84330fde57df3ba4819f75d38
提交 | 用户 | 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.project.ProjectQueryDto;
69634c 6 import com.hz.his.dto.project.ProjectWarnRecordDto;
ddd881 7 import org.springframework.cloud.openfeign.FeignClient;
F 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
69634c 36     /**
A 37      * 开放平台-项目预警记录列表
38      */
39     @PostMapping(value = "/project/warn/record/list")
40     Result projectWarnRecordList(@RequestBody ProjectWarnRecordDto projectWarnRecordDto);
ddd881 41 }