From 6d31115d931190fe4780d5479981367705be37b7 Mon Sep 17 00:00:00 2001
From: wangwh <2397901735@qq.com>
Date: Sat, 31 Aug 2024 18:01:06 +0800
Subject: [PATCH] 服务调用方法

---
 dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/CustClient.java |   44 ++++++++------------------------------------
 1 files changed, 8 insertions(+), 36 deletions(-)

diff --git a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/CustClient.java b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/CustClient.java
index 4bc8525..e3380e9 100644
--- a/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/CustClient.java
+++ b/dyh-service/dyh-mediate/src/main/java/cn/huge/module/client/api/CustClient.java
@@ -18,57 +18,29 @@
 
     /**
      * 内部用户-获取登录用户
-     * @url {ctx}/api/v1/ctUser/clientGetUser?userId=
+     * @url {ctx}/api/client/ctUser/clientGetUser?userId=
      * @param userId 登录用户编号
      * @return ReturnBO
      */
-    @GetMapping("/api/v1/ctUser/clientGetUser")
+    @GetMapping("/api/client/ctUser/clientGetUser")
     ReturnBO clientGetUser(@RequestParam("userId") String userId);
 
     /**
-     * 内部用户-获取登录用户
-     * @url {ctx}/api/v1/ctUser/clientGetUserAll?userId=
+     * 内部用户-获取登录用户-所有信息
+     * @url {ctx}/api/client/ctUser/clientGetUserAll?userId=
      * @param userId 登录用户编号
      * @return
      */
-    @GetMapping("/api/v1/ctUser/clientGetUserAll")
+    @GetMapping("/api/client/ctUser/clientGetUserAll")
     ReturnBO clientGetUserAll(@RequestParam("userId") String userId);
 
     /**
-     * 当事人-获取登录用户
-     * @url {ctx}/api/v1/paUser/clientGetUserAll?userId=
+     * 当事人-获取登录用户-所有信息
+     * @url {ctx}/api/client/paUser/clientGetUserAll?userId=
      * @param userId 登录用户编号
      * @return ReturnBO
      */
-    @GetMapping("/api/v1/paUser/clientGetUserAll")
+    @GetMapping("/api/client/paUser/clientGetUserAll")
     ReturnBO paclientGetUser(@RequestParam("userId") String userId);
 
-    /**
-     * 根据组织和角色查询
-     * @url {ctx}/api/v1/ctUser/listUserByUnitRole
-     * @return unitId 组织编号
-     * @return roleCode 角色代码
-     * @return ReturnBO
-     */
-    @GetMapping("/api/v1/ctUser/listUserByUnitRole")
-    ReturnBO listUserByUnitRole(@RequestParam(value = "unitId") String unitId, @RequestParam(value = "roleCode") String roleCode);
-
-    /**
-     * 根据部门和角色查询
-     * @url {ctx}/api/v1/ctUser/listUserByDeptRole
-     * @return deptId 部门编号
-     * @return roleCode 角色代码
-     * @return ReturnBO
-     */
-    @GetMapping("/api/v1/ctUser/listUserByDeptRole")
-    ReturnBO listUserByDeptRole(@RequestParam(value = "deptId") String deptId, @RequestParam(value = "roleCode") String roleCode);
-
-    /**
-     * 查询客户下的法院
-     * @url {ctx}/api/v1/ctUnit/listCourt1
-     * @param userId 用户编号
-     * @return ReturnBO
-     */
-    @GetMapping("/api/v1/ctUnit/listCourt1")
-    ReturnBO listCourt1(@RequestParam(value = "userId") String userId);
 }

--
Gitblit v1.8.0