feat(qzone): add complete feed lookup by tid

Refs #633
This commit is contained in:
DrSmoothl committed 2026-11-01 21:31:52 +08:00
1 parent f79187f36a
commit c15ecd0402
18 files changed
+547 -13

No files matched your search

@@ -40,6 +40,13 @@ const cases: {
args: [10001, 'cursor'],
readOnly: true,
},
{
action: 'get_qzone_feed_detail',
method: 'getFeedDetail',
params: { tid: '1127000000f1536501000000' },
args: ['1127000000f1536501000000'],
readOnly: true,
},
{
action: 'get_qzone_share_ark',
method: 'getShareArk',
@@ -317,6 +324,13 @@ describe('qzone public actions', () => {
);
it.each([
{ action: 'get_qzone_feed_detail', params: {} },
{ action: 'get_qzone_feed_detail', params: { tid: '' } },
{ action: 'get_qzone_feed_detail', params: { tid: 'T1' } },
{ action: 'get_qzone_feed_detail', params: { tid: [] } },
{ action: 'get_qzone_feed_detail', params: { tid: 'g'.repeat(24) } },
{ action: 'get_qzone_feed_detail', params: { tid: 'a'.repeat(25) } },
{ action: 'get_qzone_feed_detail', params: { tid: '1127000000f1536501000000\n' } },
{ action: 'get_qzone_public_feeds', params: { cursor: '' } },
{ action: 'get_qzone_public_feeds', params: { cursor: 'a'.repeat(65537) } },
{ action: 'get_qzone_public_feed_detail', params: {} },