|
@@ -53,7 +53,7 @@ public class AuthorizationServiceImpl implements AuthorizationService {
|
|
|
log.info("回调url: {}", preUrl);
|
|
log.info("回调url: {}", preUrl);
|
|
|
|
|
|
|
|
// 构造最终的重定向URL
|
|
// 构造最终的重定向URL
|
|
|
- String weChatRedirectUrl = weChatConfig.getNotifyDomain() + WeChatAuthRedirectUrl.get(authType).getUrl();
|
|
|
|
|
|
|
+ String weChatRedirectUrl = weChatConfig.getDomain() + WeChatAuthRedirectUrl.get(authType).getUrl();
|
|
|
|
|
|
|
|
// 如果重定向URL和授权域名不同,则追加 "/other"
|
|
// 如果重定向URL和授权域名不同,则追加 "/other"
|
|
|
if (!redirectHost.equals(authHost)) {
|
|
if (!redirectHost.equals(authHost)) {
|