generated from tailored/router-db-template
temp
This commit is contained in:
7
packages/xhs-core/test/get_userinfo.ts
Normal file
7
packages/xhs-core/test/get_userinfo.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
// import { XhsClient } from '../src/index.js';
|
||||
import { XhsClient } from '../dist/app';
|
||||
import { cookie } from './common.ts';
|
||||
const client = new XhsClient({ cookie } as any);
|
||||
client.getSelfInfoV2().then((res) => {
|
||||
console.log(res);
|
||||
});
|
||||
Reference in New Issue
Block a user