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

Method user_info

fenxiang.js:44–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

42 }
43
44 async user_info() {
45 let result = await this.taskRequest("get", `https://api.fenxianglife.com/njia/users/info`)
46 //console.log(result);
47 if (result.code == 200) {
48 $.log(`✅账号[${this.index}] 欢迎用户: ${result.data.userInfo.id}🎉`)
49 this.ckStatus = true;
50 } else {
51 $.log(`❌账号[${this.index}] 用户查询: 失败`);
52 this.ckStatus = false;
53 //console.log(result);
54 }
55 }
56 async task_finish(id) {
57 let result = await this.taskRequest("post", `https://fenxiang-lottery-api.fenxianglife.com/fenxiang-lottery/lotteryCode/task/finish`, JSON.stringify({
58 "taskId": id

Callers 1

mainMethod · 0.95

Calls 2

taskRequestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected