From 8f85a17a1e9081caf8b4df8e0791c8f2e8135337 Mon Sep 17 00:00:00 2001 From: Lkeme <19500576+lkeme@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:36:19 +0800 Subject: [PATCH] [fix] qrcode invalid --- plugin/Login/Login.php | 11 ++++++----- profile/example/device/device.yaml | 6 +++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/plugin/Login/Login.php b/plugin/Login/Login.php index 882229d..8397ae3 100644 --- a/plugin/Login/Login.php +++ b/plugin/Login/Login.php @@ -124,8 +124,9 @@ class Login extends BasePlugin break; case 3: // 二维码模式 - $this->qrcodeLogin(); - break; + failExit('已不支持扫码登录模式,当前推荐短信登录模式'); + // $this->qrcodeLogin(); + // break; default: failExit('登录模式配置错误'); } @@ -265,9 +266,9 @@ class Login extends BasePlugin // // $this->updateInfo('username',$this->username); // $this->updateInfo('password',$this->password); - // 转换 - $access_token = $this->tvConvert(); - $this->updateInfo('access_token', $access_token); + // 转换 TODO: 扫码无效 + // $access_token = $this->tvConvert(); + // $this->updateInfo('access_token', $access_token); } /** diff --git a/profile/example/device/device.yaml b/profile/example/device/device.yaml index 4a4c203..822cdc0 100644 --- a/profile/example/device/device.yaml +++ b/profile/example/device/device.yaml @@ -3,8 +3,8 @@ device_version: 0.0.1 app: bili_a: # Android package: "tv.danmaku.bili" - version: "7.43.0" - build: "7430300" + version: "7.52.0" + build: "7520200" channel: "bili" device: "phone" mobi_app: "android" @@ -15,7 +15,7 @@ app: secret_key: "NTYwYzUyY2NkMjg4ZmVkMDQ1ODU5ZWQxOGJmZmQ5NzM" app_key_n: "NzgzYmJiNzI2NDQ1MWQ4Mg==" secret_key_n: "MjY1MzU4M2M4ODczZGVhMjY4YWI5Mzg2OTE4YjFkNjU=" - statistics: '{"appId":1,"platform":3,"version":"7.43.0","abtest":""}' + statistics: '{"appId":1,"platform":3,"version":"7.52.0","abtest":""}' bili_i: # IOS app_key: "MjdlYjUzZmM5MDU4ZjhjMw==" secret_key: "YzJlZDUzYTc0ZWVlZmUzY2Y5OWZiZDAxZDhjOWMzNzU="