fwq
2023-10-30 ef212c321c6d833d69091e7491521f7d11984bfb
提交 | 用户 | age
4b3270 1 package com.hz.his.feign.service.platform;
W 2
3 import com.hx.resultTool.Result;
f42334 4 import com.hz.his.dto.employee.EmployeeDto;
4b3270 5 import com.hz.his.dto.employee.EmployeeRoleDto;
W 6 import org.springframework.cloud.openfeign.FeignClient;
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 = "phip-employee")
14 public interface SPhipEmployeeService {
15
16     /**
17      * 开放平台-优惠券列表(含指定)
18      */
19     @PostMapping(value = "/employee/role/list")
20     Result getEmployeeRoleList(@RequestBody EmployeeRoleDto employeeRoleDto);
21
f42334 22     /**
A 23      * 开放平台-生成员工获客链接
24      */
25     @PostMapping(value = "/employee/create/acquisition/link")
26     Result createAcquisitionLink(@RequestBody EmployeeDto employeeDto);
27
28     /**
29      * 开放平台-查询员工获客链接(那些企业用户添加了)
30      */
31     @PostMapping(value = "/employee/search/acquisition/link")
32     Result searchAcquisitionLink(@RequestBody EmployeeDto employeeDto);
4b3270 33 }