fix #3071 增加站点消息开关

This commit is contained in:
jxxghp
2024-11-12 13:59:13 +08:00
parent 9dde56467a
commit aafb2bc269
2 changed files with 4 additions and 1 deletions

View File

@@ -182,7 +182,8 @@ class SiteParserBase(metaclass=ABCMeta):
)
)
# 解析用户未读消息
self._pase_unread_msgs()
if settings.SITE_MESSAGE:
self._pase_unread_msgs()
# 解析用户上传、下载、分享率等信息
if self._user_traffic_page:
self._parse_user_traffic_info(