|
@@ -176,9 +176,10 @@ public class ThirdLoginController
|
|
|
JSONObject result = new JSONObject();
|
|
|
RedisConnection redisConnection = redisConnectionFactory.getConnection();
|
|
|
String userInfo = redisConnection.get(ticket);
|
|
|
+ JSONObject userObject = JSONObject.parseObject(userInfo);
|
|
|
result.put("userInfo", userInfo);
|
|
|
redisConnection.close();
|
|
|
- return new RetResult().setMsg("请求成功").setData(userInfo).setCode(RetCode.SUCCESS);
|
|
|
+ return new RetResult().setMsg("请求成功").setData(userObject).setCode(RetCode.SUCCESS);
|
|
|
}
|
|
|
|
|
|
/**
|