Commit a2db8093 by levphon

新增移动端支持

1 parent 0a95fb2b
...@@ -27,6 +27,14 @@ public interface AuthFeignClient { ...@@ -27,6 +27,14 @@ public interface AuthFeignClient {
R<SimpleUser> login(@RequestParam("account") String account, @RequestParam("password") String password); R<SimpleUser> login(@RequestParam("account") String account, @RequestParam("password") String password);
/** /**
* 通过用户id获取用户
*
* @param userId
* @return
*/
R<SimpleUser> getSimpleUserById(Long userId);
/**
* 嗅探token是否有效(走feign不走网关,走网关网关直接验证了,当需要判断token状态是否有效,可能会使用此接口) * 嗅探token是否有效(走feign不走网关,走网关网关直接验证了,当需要判断token状态是否有效,可能会使用此接口)
* *
* @return * @return
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!