🐛 修改webui导入路径 (#1783)

* 🐛 修改webui导入路径

* 🚨 auto fix by pre-commit hooks

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
HibiKier
2024-12-19 09:51:31 +08:00
committed by GitHub
co-authored by pre-commit-ci[bot]
parent a15303a891
commit a8e4d29031
16 changed files with 58 additions and 62 deletions
@@ -8,16 +8,12 @@ from nonebot.config import Config
from tortoise.expressions import RawSQL
from tortoise.functions import Count
from zhenxun.builtin_plugins.web_ui.base_model import (
BaseResultModel,
QueryModel,
Result,
)
from zhenxun.builtin_plugins.web_ui.utils import authentication
from zhenxun.models.bot_connect_log import BotConnectLog
from zhenxun.models.chat_history import ChatHistory
from zhenxun.models.statistics import Statistics
from ....base_model import BaseResultModel, QueryModel, Result
from ....utils import authentication
from .data_source import BotManage
from .model import AllChatAndCallCount, BotInfo, ChatCallMonthCount, QueryChatCallCount
@@ -5,11 +5,11 @@ import nonebot
from nonebot.adapters import Bot
from nonebot.drivers import Driver
from zhenxun.builtin_plugins.web_ui.api.tabs.main.data_source import bot_live
from zhenxun.models.chat_history import ChatHistory
from zhenxun.models.statistics import Statistics
from zhenxun.utils.platform import PlatformUtils
from ..main.data_source import bot_live
from .model import BotInfo
driver: Driver = nonebot.get_driver()