| | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants;
|
| | | import com.ruoyi.common.core.domain.R;
|
| | | import com.ruoyi.system.api.factory.RemoteUserFallbackFactory;
|
| | | import com.ruoyi.system.api.model.UserInfo;
|
| | | import com.ruoyi.system.api.model.LoginUser;
|
| | |
|
| | | /**
|
| | | * 用户服务
|
| | |
| | | * 通过用户名查询用户信息
|
| | | *
|
| | | * @param username 用户名
|
| | | * @param from 调用标志
|
| | | * @return 结果
|
| | | */
|
| | | @GetMapping(value = "/user/info/{username}")
|
| | | public R<UserInfo> getUserInfo(@PathVariable("username") String username);
|
| | | public R<LoginUser> getUserInfo(@PathVariable("username") String username);
|
| | | }
|