MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / doSign

Method doSign

daily/hyjk.js:89–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 }
88
89 async doSign() {
90 let options = {
91 method: 'POST',
92 url: `https://tuan.api.ybm100.com/miniapp/marketing/signActivity/sign`,
93 headers: this.headers,
94 data: { "actId": "9093", "channelCode": this.channelCode, "adornId": "217" }
95 };
96 let { data: result } = await axios.request(options);
97 if (result?.code == '0') {
98 $.log(`[账号${this.index}] 签到成功[${result.msg}]`);
99 } else {
100 $.log(`[账号${this.index}] 签到失败:${result.msg}`)
101 }
102 }
103
104 async getFruitInfo() {
105 let options = {

Callers 1

getSignInfoMethod · 0.95

Calls 2

requestMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected