lihui001 3 years ago
parent
commit
fe66e70ab3

+ 14 - 11
zoniot-water/zoniot-water-web/src/main/java/com/bz/zoneiot/water/web/client/UserCenterClient.java

@@ -19,6 +19,19 @@ import java.util.Map;
 @FeignClient(value = "user-center",configuration={FeignConfig.class})
 public interface UserCenterClient {
 
+
+    /**
+     * findUserIdsByPermissonOrg
+     * @author Andy
+     * @date 11:33 2021/8/18
+     * @param tenantId:
+     * @param companyOrgId:
+     * @param deptOrgId:
+     * @return java.util.List<java.lang.Integer>
+     **/
+    @PostMapping("/user/findUserIdsByPermissonOrg")
+    List<Integer> findUserIdsByPermissonOrg(@RequestParam("tenantId") String tenantId, @RequestParam("companyOrgId") Integer companyOrgId, @RequestParam("deptOrgId") Integer deptOrgId);
+
     /**
     * 日志保存(仅设备增删改)
     * @author Andy
@@ -39,17 +52,7 @@ public interface UserCenterClient {
     @PostMapping("/org/getAllByTenantId")
     List<Org> getAllByTenantId();
 
-    /**
-    * findUserIdsByPermissonOrg
-    * @author Andy
-    * @date 11:33 2021/8/18
-    * @param tenantId:
-    * @param companyOrgId:
-    * @param deptOrgId:
-    * @return java.util.List<java.lang.Integer>
-    **/
-    @PostMapping("/user/findUserIdsByPermissonOrg")
-    List<Integer> findUserIdsByPermissonOrg(@RequestParam("tenantId") String tenantId, @RequestParam("companyOrgId") Integer companyOrgId, @RequestParam("deptOrgId") Integer deptOrgId);
+
 
     /**
     * countCompanyByUser

+ 0 - 3
zoniot-water/zoniot-water-web/src/main/java/com/bz/zoneiot/water/web/config/FeignConfig.java

@@ -17,7 +17,6 @@ import javax.servlet.http.HttpServletRequest;
 @Configuration
 public class FeignConfig implements RequestInterceptor {
 
-
     @Override
     public void apply(RequestTemplate requestTemplate) {
         ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
@@ -28,6 +27,4 @@ public class FeignConfig implements RequestInterceptor {
             }
         }
     }
-
-
 }