fix: 修复微信、钉钉跳转bug

This commit is contained in:
曾文豪
2023-06-13 09:42:15 +08:00
parent e0b1720c4a
commit 4254bf47bf
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ public class LoginController {
if (StrUtil.isEmpty(extra)) {
extra = "";
}
String configUrl = globalConfig.buildPath("/auth/wxmp/oauth2/" + service + "?extra=" + extra);
String configUrl = globalConfig.buildPath("/login/wxmp/oauth2/" + service + "?extra=" + extra);
String authorizationUrl = platformWxmpConfig.buildAuthorizationUrl(service, configUrl, "snsapi_userinfo");
response.sendRedirect(authorizationUrl);
}