🔧 后缀配置恢复

This commit is contained in:
Chen_Xu233
2024-07-28 10:08:25 +08:00
parent 5eb207fe16
commit 98addff20a
4 changed files with 37 additions and 25 deletions

View File

@@ -12,7 +12,8 @@ class ScopedConfig(BaseModel):
template_path: str = "./template/rank_template.j2" # 模板路径
visualization: bool = True # 是否可视化
excluded_people: List[str] = [] # 排除的人的QQ号
visualization_type: Literal["饼图", "圆环图", "柱状图"] = "圆环图" # 可视化方案
suffix: bool = False # 是否显示后缀
string_suffix: str = "统计花费时间:{timecost}" # 消息格式后缀
class Config(BaseModel):