From 1f6eda33d24ae85342c07c326a3ac4c257a432c6 Mon Sep 17 00:00:00 2001 From: Kubbo <390378816@qq.com> Date: Sun, 22 Dec 2024 18:24:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=99=BB=E5=BD=95=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E4=B8=AD=E7=9A=84=E5=8F=82=E6=95=B0=E5=90=8D=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linuxdo.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxdo.php b/linuxdo.php index 754b350..f53a699 100644 --- a/linuxdo.php +++ b/linuxdo.php @@ -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 = "授权失败" }