feat: webui OB11Config

This commit is contained in:
手瓜一十雪 2024-05-07 12:31:30 +08:00
parent caab998212
commit c5d313574f
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,7 @@
import { RequestHandler } from "express";
import { DataRuntime } from "../helper/Data";
const isEmpty = (data: any) => data === undefined || data === null || data === '';
export const OB11GetConfigHandler: RequestHandler = async (req, res) => {
}
export const OB11SetConfigHandler: RequestHandler = async (req, res) => {
}

View File

@ -35,7 +35,19 @@ export const QQCheckLoginStatusHandler: RequestHandler = (req, res) => {
}
});
};
export const QQQuickLoginHandler: RequestHandler = async (req, res) => {
export const QQSetQuickLoginHandler: RequestHandler = async (req, res) => {
// 未完成
const { token } = req.body;
if (token) {
const isLogin = await DataRuntime.getQQLoginStatus();
}
// 未实现
res.send({
code: 0,
message: 'success'
});
}
export const QQGetQuickLoginListHandler: RequestHandler = async (req, res) => {
// 未完成
const { token } = req.body;
if (token) {