This commit is contained in:
2025-05-03 21:12:58 +08:00
parent c2a0623482
commit d6014b3c40
19 changed files with 115 additions and 35 deletions

View File

@@ -49,7 +49,7 @@ export const getSign = async (signInfo: SignInfo, options?: SignOptions): Promis
web_session: web_session,
}),
}).then((res) => res.json());
return signs;
return signs as SignResponse;
} catch (error) {
return null;
}
@@ -161,7 +161,7 @@ export class XhsClient extends XhsClientBase {
const url = '/api/sns/web/v1/you/mentions';
const response = await this.get(
url,
{ num: 20, cursor: '' },
{ num: num, cursor: '' },
{
sign: this.sign.bind(this),
needSign: true,