mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 11:20:01 +08:00
webui主页和插件管理api更新
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from enum import Enum
|
||||
from typing import NamedTuple
|
||||
|
||||
|
||||
class SearchType(Enum):
|
||||
|
||||
"""
|
||||
查询类型
|
||||
"""
|
||||
|
||||
DAY = "day_statistics"
|
||||
"""天"""
|
||||
WEEK = "week_statistics"
|
||||
"""周"""
|
||||
MONTH = "month_statistics"
|
||||
"""月"""
|
||||
TOTAL = "total_statistics"
|
||||
"""总数"""
|
||||
|
||||
|
||||
class ParseData(NamedTuple):
|
||||
|
||||
global_search: bool
|
||||
"""是否全局搜索"""
|
||||
search_type: SearchType
|
||||
"""搜索类型"""
|
||||
Reference in New Issue
Block a user