|
|
@@ -183,7 +183,7 @@ public class AuthorizationController {
|
|
|
log.info("非主域名授权请求地址:{}", requestUrl);
|
|
|
|
|
|
log.info("微信非主域名授权转跳. url: {}", url);
|
|
|
- String path = URLUtil.getPath(weChatConfig.getDomain());
|
|
|
+ String path = URLUtil.getPath(weChatConfig.getNotifyDomain());
|
|
|
response.sendRedirect(URLUtil.getHost(new URL(url)).toString() + path + "auth/weChat/baseRedirect" + "?code=" + code + "&state=" + state);
|
|
|
}
|
|
|
|
|
|
@@ -207,7 +207,7 @@ public class AuthorizationController {
|
|
|
log.info("非主域名授权请求地址:{}", requestUrl);
|
|
|
|
|
|
log.info("微信非主域名授权转跳. url: {}", url);
|
|
|
- String path = URLUtil.getPath(weChatConfig.getDomain());
|
|
|
+ String path = URLUtil.getPath(weChatConfig.getNotifyDomain());
|
|
|
|
|
|
response.sendRedirect(URLUtil.getHost(new URL(url)).toString() + path + "auth/weChat/silentRedirect" + "?code=" + code + "&state=" + state);
|
|
|
}
|