|
|
@ -66,7 +66,7 @@ public class UsersService extends CoreBaseService<Users> {
|
|
|
|
throw new GlobalException("用户名或密码不能为空");
|
|
|
|
throw new GlobalException("用户名或密码不能为空");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (!StringUtils.isEmpty(usersQuery.getKey())) {
|
|
|
|
if (!StringUtils.isEmpty(usersQuery.getKey())) {
|
|
|
|
// 单独登录
|
|
|
|
// 单点登录
|
|
|
|
final Map<String, Object> decode = JWTUtil.decode(usersQuery.getKey());
|
|
|
|
final Map<String, Object> decode = JWTUtil.decode(usersQuery.getKey());
|
|
|
|
final String username = (String) decode.get("username");
|
|
|
|
final String username = (String) decode.get("username");
|
|
|
|
final String password = (String) decode.get("password");
|
|
|
|
final String password = (String) decode.get("password");
|
|
|
|