rx
2024-08-30 f8c5293547cffbc8fa24cbf4f15e990b8147cb0e
提交 | 用户 | 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);
ce6c49 33
A 34     /**
35      * 开放平台-企业微信发送邮件通知
36      */
37     @PostMapping(value = "/employee/sent/email/notice")
38     Result senEmailNotice(@RequestBody EmployeeDto employeeDto);
371b0d 39
A 40     /**
41      * 开放平台-获取企业微信用户信息
42      */
43     @PostMapping(value = "/employee/corp/info")
44     Result corpInfo(@RequestBody EmployeeDto employeeDto);
4b3270 45 }