接口 IUserClient
-
- 所有已知实现类:
IUserClientFallback
@FeignClient(name="meteor-system-service", contextId="userClient", path="/user", fallback=IUserClientFallback.class) public interface IUserClientUser Feign接口类- 从以下版本开始:
- 1.0.0
- 作者:
- ths
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 cn.meteor.common.model.R<String>emailLogin(String email, String password)根据email/账户登录cn.meteor.common.model.R<List<Long>>getUserIdsByDeptIds(List<Long> deptIds)根据 部门ID集合 获取 用户ID集合cn.meteor.common.model.R<List<cn.meteor.common.model.UserInfo>>getUsersByDeptIds(List<Long> deptIds)根据 部门ID递归 获取 用户集合cn.meteor.common.model.R<cn.meteor.common.model.UserInfo>userInfoByToken(String token)根据token获取用户信息
-
-
-
方法详细资料
-
userInfoByToken
@GetMapping(value="userInfoByToken", produces="application/json") cn.meteor.common.model.R<cn.meteor.common.model.UserInfo> userInfoByToken(@RequestParam("token") String token)根据token获取用户信息- 参数:
token- token- 返回:
- 用户信息
-
emailLogin
@GetMapping(value="emailLogin", produces="application/json") cn.meteor.common.model.R<String> emailLogin(@RequestParam("email") String email, @RequestParam("password") String password)根据email/账户登录- 参数:
email- emailpassword- password- 返回:
- token
-
getUserIdsByDeptIds
@GetMapping(value="getUserIdsByDeptIds", produces="application/json") cn.meteor.common.model.R<List<Long>> getUserIdsByDeptIds(@RequestParam("deptIds") List<Long> deptIds)根据 部门ID集合 获取 用户ID集合- 参数:
deptIds- 部门ID集合- 返回:
- 用户ID集合
-
-