This commit is contained in:
tanghc
2020-08-25 17:04:51 +08:00
parent 6e54384571
commit 8410b90001

View File

@@ -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");