Skip to content

Commit

Permalink
feat: 新增麒麟和OKPT
Browse files Browse the repository at this point in the history
  • Loading branch information
linyuan0213 committed Apr 4, 2024
1 parent f991ee1 commit 0821cad
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/sites/siteuserinfo/mteam.py
Expand Up @@ -62,7 +62,7 @@ def _parse_user_base_info(self, html_text):
self.username = json_data.get('data').get('username') or ''
self.bonus = json_data.get('data').get('memberCount').get('bonus') or ''
self._torrent_seeding_page = '/api/member/getUserTorrentList'
self._torrent_seeding_params = {"userid": userid, "type": "SEEDING", "pageNumber": 1, "pageSize": 25}
self._torrent_seeding_params = {"userid": userid, "type": "SEEDING", "pageNumber": 1, "pageSize": 100}

def _parse_site_page(self, html_text):
pass
Expand Down
Binary file modified config/sites.dat
Binary file not shown.
2 changes: 1 addition & 1 deletion web/action.py
Expand Up @@ -4778,7 +4778,7 @@ def get_user_menus():
# 查询最早加入PT站的时间, 如果不足一个月, 则隐藏刷流任务
first_pt_site = SiteUserInfo().get_pt_site_min_join_date()
if not first_pt_site or not StringUtils.is_one_month_ago(first_pt_site):
ignore.append('brushtask')
ignore.append('')
# 获取可用菜单
menus = current_user.get_usermenus(ignore=ignore)
return {
Expand Down

0 comments on commit 0821cad

Please sign in to comment.