From 790c4f589d0afba94149a5e26bcb752196226491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 8 May 2024 15:07:20 +0800 Subject: [PATCH] feat: Login HeartBeat --- src/webui/src/router/QQLogin.ts | 3 ++- static/QQLogin.html | 33 +++++++++++++++++++++++++++++---- static/login.html | 2 +- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/webui/src/router/QQLogin.ts b/src/webui/src/router/QQLogin.ts index 7370d578..82635b28 100644 --- a/src/webui/src/router/QQLogin.ts +++ b/src/webui/src/router/QQLogin.ts @@ -1,7 +1,8 @@ import { Router } from 'express'; -import { QQCheckLoginStatusHandler, QQGetQuickLoginListHandler } from '../api/QQLogin'; +import { QQCheckLoginStatusHandler, QQGetQRcodeHandler, QQGetQuickLoginListHandler } from '../api/QQLogin'; const router = Router(); router.all('/GetQuickLoginList', QQGetQuickLoginListHandler) router.post('/CheckLoginStatus', QQCheckLoginStatusHandler); +router.post('/GetQQLoginQrcode', QQGetQRcodeHandler); export { router as QQLoginRouter }; \ No newline at end of file diff --git a/static/QQLogin.html b/static/QQLogin.html index 3447b797..b02419f6 100644 --- a/static/QQLogin.html +++ b/static/QQLogin.html @@ -158,7 +158,26 @@