提交 | 用户 | age
|
54bc6d
|
1 |
package com.hz.his.feign.service.phis; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.dto.user.project.DirectCannelVo; |
20482c
|
5 |
import com.hz.his.dto.user.project.DirectRepealVo; |
54bc6d
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
|
13 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "userProject") |
|
14 |
public interface SUserProjectService { |
|
15 |
|
|
16 |
/** |
|
17 |
* 直接操作用户项目 |
|
18 |
* 员工直接操作 |
|
19 |
* @param directCannelVo 封装对象 |
|
20 |
* @return |
|
21 |
*/ |
20482c
|
22 |
@PostMapping(value = "/user/project/direct/cancel") |
54bc6d
|
23 |
Result directCancel(@RequestBody DirectCannelVo directCannelVo); |
20482c
|
24 |
|
C |
25 |
/** |
|
26 |
* 作废直接操作用户项目 |
|
27 |
* 员工直接操作 |
|
28 |
* @param directRepealVo 封装对象 |
|
29 |
* @return |
|
30 |
*/ |
|
31 |
@PostMapping(value = "/user/project/direct/repeal") |
|
32 |
Result directRepeal(@RequestBody DirectRepealVo directRepealVo); |
54bc6d
|
33 |
} |