This commit is contained in:
2025-05-05 00:01:36 +08:00
parent d6014b3c40
commit a412c09da0
20 changed files with 2911 additions and 102 deletions

View File

@@ -0,0 +1,7 @@
import { XhsClient } from '../src/index.js';
// import { XhsClient } from '../dist/app.mjs';
import { cookie } from './common.ts';
const client = new XhsClient({ cookie } as any);
client.setCookieMap({ a1: 'thisistest' })
console.log(client.getCookieMap());
console.log(client.cookie);