package cn.huge.module.client.api;
|
|
import cn.huge.base.common.bo.ReturnBO;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
/**
|
* @title: 客户用户中心微服务调用接口
|
* @description: 客户用户中心微服务调用接口
|
* @company: hugeinfo
|
* @author: liyj
|
* @time: 2021-11-05 16:51:48
|
* @version: 1.0.0
|
*/
|
@FeignClient(name = "dyh-cust")
|
public interface CustClient {
|
|
/**
|
* 内部用户-获取登录用户
|
* @url {ctx}/api/client/ctUser/clientGetUser?userId=
|
* @param userId 登录用户编号
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/ctUser/clientGetUser")
|
ReturnBO clientGetUser(@RequestParam("userId") String userId);
|
|
/**
|
* 内部用户-获取登录用户
|
* @url {ctx}/api/client/ctUser/clientGetUserAll?userId=
|
* @param userId 登录用户编号
|
* @return
|
*/
|
@GetMapping("/api/client/ctUser/clientGetUserAll")
|
ReturnBO clientGetUserAll(@RequestParam("userId") String userId);
|
|
/**
|
* 当事人-获取登录用户
|
* @url {ctx}/api/client/paUser/clientGetUserAll?userId=
|
* @param userId 登录用户编号
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/paUser/clientGetUserAll")
|
ReturnBO paClientGetUserAll(@RequestParam("userId") String userId);
|
|
/**
|
* 查询用户所在的单位信息
|
* @url {ctx}/api/client/ctUnit/getUnitByUserId?userId=
|
* @param userId 登录用户编号
|
* @return ReturnBO
|
*/
|
@GetMapping("/api/client/ctUnit/getUnitByUserId")
|
ReturnBO getUnitByUserId(@RequestParam("userId") String userId);
|
}
|