🎈 pref:优化用户交互

This commit is contained in:
zhiyu1998 2024-11-25 11:42:47 +08:00
parent 2b2d3ed413
commit 01503ac946

View File

@ -1,8 +1,8 @@
import os from "os";
import { REDIS_YUNZAI_WEBUI } from "../constants/constant.js"; import { REDIS_YUNZAI_WEBUI } from "../constants/constant.js";
import config from "../model/config.js"; import config from "../model/config.js";
import { redisSetKey } from "../utils/redis-util.js"; import { redisSetKey } from "../utils/redis-util.js";
import { getBotLoginInfo, getBotStatus, getBotVersionInfo, sendPrivateMsg } from "../utils/yunzai-util.js"; import { getBotLoginInfo, getBotStatus, getBotVersionInfo, sendPrivateMsg } from "../utils/yunzai-util.js";
import os from "os";
export class WebUI extends plugin { export class WebUI extends plugin {
constructor() { constructor() {
@ -40,8 +40,8 @@ export class WebUI extends plugin {
...status, ...status,
...versionInfo, ...versionInfo,
...loginInfo ...loginInfo
}) });
}) });
} }
} }