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

Method task_daka

daily/dfyc.js:78–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 async task_daka() {
79 try {
80 let options = {
81 method: "post",
82 url: `https://eapp.eastobacco.com/index.php?m=api&c=user&a=daka`,
83 headers: {
84 "Content-Type": "application/x-www-form-urlencoded"
85 },
86 data: `platform=android&token=${this.ck}&timestamp=${Date.now()}&api_version=4`
87 }
88 let { data: result } = await axios.request(options);
89 //console.log(options);
90 //console.log(result);
91 $.log(`✅账号[${this.index}] 打卡[${result.message}]🎉`)
92 } catch (e) {
93 console.log(e);
94 }
95 }
96
97 async art_list() {
98 try {

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected