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

@@ -24,7 +24,7 @@
corpId: getQueryString("corpId"),
onSuccess: function (result) {
let search = window.location.search + "&code=" + result.code;
window.location.href = "/auth/ding/oauth2/" + getQueryString("service") + search;
window.location.href = "/login/ding/oauth2/" + getQueryString("service") + search;
},
onFail: function (err) {
window.location.href = "./error.html?message=" + JSON.stringify(err);