|
@@ -98,7 +98,7 @@ public class SysLoginController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Azure登录方法
|
|
|
+ * 登录方法
|
|
|
*
|
|
|
* @param loginBody 登录信息
|
|
|
* @return 结果
|
|
@@ -139,7 +139,7 @@ public class SysLoginController {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * 登录方法
|
|
|
+ * Azure登录方法
|
|
|
*
|
|
|
* @param loginBody 登录信息
|
|
|
* @return 结果
|
|
@@ -157,7 +157,7 @@ public class SysLoginController {
|
|
|
// 1.2 构建请求参数
|
|
|
Map<String, String> body = new HashMap<>();
|
|
|
body.put("code", code);
|
|
|
- body.put("grant_type", "authorization_code");
|
|
|
+ body.put("grant_type", "authoization_code");
|
|
|
body.put("client_secret", "FdR8Q~hmMJsJtJzPhDntTMwRv2WKD6dEhpSKraqk");
|
|
|
body.put("client_id", "3db6f125-db4d-456b-a76e-a6d03182e845");
|
|
|
body.put("redirect_uri", "http://localhost/cpms/index.html#/azureLogin");
|