Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:19:18 +08:00
parent b1432b5ff5
commit 148e0872b4
17 changed files with 126 additions and 127 deletions

View File

@@ -40,7 +40,7 @@ class MemberHttp {
{
'mid': mid,
'reason': reason,
if (reasonV2 != null) 'reason_v2': reasonV2,
'reason_v2': ?reasonV2,
'csrf': Accounts.main.csrf,
},
),
@@ -131,8 +131,8 @@ class MemberHttp {
if (seasonId != null) 'season_id': seasonId.toString(),
if (seriesId != null) 'series_id': seriesId.toString(),
'qn': type == ContributeType.video ? '80' : '32',
if (order != null) 'order': order,
if (sort != null) 'sort': sort,
'order': ?order,
'sort': ?sort,
if (includeCursor != null) 'include_cursor': includeCursor.toString(),
'statistics': Constants.statisticsApp,
'vmid': mid.toString(),
@@ -235,7 +235,7 @@ class MemberHttp {
'mobi_app': 'android',
'platform': 'android',
's_locale': 'zh_CN',
if (fromViewAid != null) 'from_view_aid': fromViewAid,
'from_view_aid': ?fromViewAid,
'statistics': Constants.statisticsApp,
'vmid': mid.toString(),
};
@@ -336,7 +336,7 @@ class MemberHttp {
'ps': ps,
'tid': tid,
'pn': pn,
if (keyword != null) 'keyword': keyword,
'keyword': ?keyword,
'order': order,
'platform': 'web',
'web_location': '1550101',
@@ -704,7 +704,7 @@ class MemberHttp {
'up_mid': upMid,
'pn': page,
'ps': 100,
if (privilegeType != null) 'privilege_type': privilegeType,
'privilege_type': ?privilegeType,
'mobi_app': 'web',
'web_location': 333.1196,
if (Accounts.main.isLogin) 'csrf': Accounts.main.csrf,