add 数据共享开关

This commit is contained in:
jxxghp
2024-05-06 11:54:32 +08:00
parent dd5c0de7b1
commit 90d5a8b0c9
4 changed files with 25 additions and 10 deletions

View File

@ -242,6 +242,10 @@ class Settings(BaseSettings):
DOH_ENABLE: bool = True
# 搜索多个名称
SEARCH_MULTIPLE_NAME: bool = False
# 订阅数据共享
SUBSCRIBE_STATISTIC_SHARE: bool = True
# 插件安装数据共享
PLUGIN_STATISTIC_SHARE: bool = True
@validator("SUBSCRIBE_RSS_INTERVAL",
"COOKIECLOUD_INTERVAL",