【fix sonar】ThirdLoginController文件
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user