fix: GetQuickList

This commit is contained in:
手瓜一十雪 committed 2024-05-08 14:46:51 +08:00
1 parent 05051cf0cd
commit dd70e20bda
4 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -12,7 +12,7 @@ const app = express();
* @returns {Promise<void>} 无返回值。
*/
export async function InitWebUi() {
let config = WebUiConfig;
let config = await WebUiConfig.GetWebUIConfig();
app.use(express.json());
// 初始服务
app.all('/', (_req, res) => {
+2 -2
View File
@@ -27,12 +27,12 @@ export const QQGetQRcodeHandler: RequestHandler = async (req, res) => {
});
return;
};
export const QQCheckLoginStatusHandler: RequestHandler = (req, res) => {
export const QQCheckLoginStatusHandler: RequestHandler = async (req, res) => {
res.send({
code: 0,
message: 'success',
data: {
isLogin: DataRuntime.getQQLoginStatus()
isLogin: await DataRuntime.getQQLoginStatus()
}
});
};