【fix sonar】ThirdLoginController文件

This commit is contained in:
梁琦涛
2023-04-04 10:44:20 +08:00
parent f9e55098e7
commit 6db0d0eb7d
@@ -66,7 +66,7 @@ public class ThirdLoginController {
public String loginThird(@PathVariable("source") String source, AuthCallback callback,ModelMap modelMap) {
log.info("第三方登录进入callback" + source + " params" + JSON.toJSONString(callback));
AuthRequest authRequest = factory.get(source);
AuthResponse response = authRequest.login(callback);
AuthResponse<?> response = authRequest.login(callback);
log.info(JSON.toJSONString(response));
Results<JSONObject> result = new Results<>();
if(response.getCode()==2000) {