MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / userInfo

Method userInfo

daily/xinxi.js:68–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 async userInfo() {
69 let options = {
70 method: 'GET',
71 url: `https://api.xinc818.com/mini/user`,
72 headers: {}
73
74 };
75 let { data: result } = await this.request(options);
76 if (result.code == 0) {
77 $.log(`✅账号[${this.index}] 【${result.data.nickname}】积分【${result.data.integral}】🎉`)
78 this.userId = result.data.id
79 } else {
80 console.log(`❌账号[${this.index}] 用户查询【false】`);
81 console.log(result);
82 }
83
84 }
85 async signIn() {
86 let options = {
87 method: 'GET',

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected