修复登录链接中的参数名错误
This commit is contained in:
@@ -156,7 +156,7 @@ if (isset($getTokenArr['access_token'])) {
|
||||
const connectId = document.getElementById('linuxdo').value
|
||||
request("/api?act=link&connect_id=" + connectId,{method:"POST"}).then(res => {
|
||||
if (res.code == '0') {
|
||||
location.href = "/play?account=" + res.data.account + "&token=" + res.data.password;
|
||||
location.href = "/play?account=" + res.data.username + "&token=" + res.data.password;
|
||||
} else {
|
||||
document.body.innerHTML = "授权失败"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user