From 6ea6b800ba891812fcdd25ba28758d233f5b0d95 Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期四, 07 九月 2023 16:03:31 +0800 Subject: [PATCH] 员工权限校验接口 --- phis-feign/src/main/java/com/hz/his/dto/employee/EmpAuthDto.java | 14 ++++++++++++++ phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java | 4 ++++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/phis-feign/src/main/java/com/hz/his/dto/employee/EmpAuthDto.java b/phis-feign/src/main/java/com/hz/his/dto/employee/EmpAuthDto.java new file mode 100644 index 0000000..d6c6ca6 --- /dev/null +++ b/phis-feign/src/main/java/com/hz/his/dto/employee/EmpAuthDto.java @@ -0,0 +1,14 @@ +package com.hz.his.dto.employee; + +import lombok.Data; + +/** + * @author fwq + * */ +@Data +public class EmpAuthDto{ + /**鏉冮檺*/ + private String tagName; + /**鐧诲綍鍛樺伐*/ + private String empRoleId; +} diff --git a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java index 4e4d24a..9bf9172 100644 --- a/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java +++ b/phis-feign/src/main/java/com/hz/his/feign/service/phis/SEmployeeService.java @@ -2,6 +2,7 @@ import com.hx.resultTool.Result; +import com.hz.his.dto.employee.EmpAuthDto; import com.hz.his.dto.employee.EmpDocDto; import com.hz.his.dto.TimeDto; import com.hz.his.dto.employee.EmployeeDto; @@ -74,4 +75,7 @@ @PostMapping(value = "/emp/detail/name") Result getDetailsByName(@RequestBody(required = false) EmpDocDto employeeDto); + @PostMapping(value = "/emp/auth/check") + Result empAuthCheck(@RequestBody(required = false) EmpAuthDto empAuthDto); + } -- Gitblit v1.8.0