mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.0.3
This commit is contained in:
@@ -35,7 +35,7 @@ public class OAuth2Controller {
|
|||||||
private OAuth2Service oAuth2Service;
|
private OAuth2Service oAuth2Service;
|
||||||
|
|
||||||
// 第一步:授权URL拼装
|
// 第一步:授权URL拼装
|
||||||
// https://localhost:8087/oauth2/appToAppAuth?app_id=2019032617262200001&redirect_uri=http%3a%2f%2flocalhost%3a8087%2foauth2callback
|
// http://localhost:8087/oauth2/appToAppAuth?app_id=2019032617262200001&redirect_uri=http%3a%2f%2flocalhost%3a8087%2foauth2callback
|
||||||
@GetMapping("appToAppAuth")
|
@GetMapping("appToAppAuth")
|
||||||
public String appToAppAuth(HttpServletRequest request, ModelMap modelMap) {
|
public String appToAppAuth(HttpServletRequest request, ModelMap modelMap) {
|
||||||
String app_id = request.getParameter("app_id");
|
String app_id = request.getParameter("app_id");
|
||||||
|
Reference in New Issue
Block a user