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

Method signIn

wxapp/hezj.js:182–204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 }
181
182 async signIn() {
183 const path = "/api-gw/zjBaseServer/daily/sign";
184 let options = {
185 method: 'POST',
186 url: API_HOST + path,
187 path,
188 headers: {},
189 data: {
190
191 }
192 };
193 let { data: result } = await this.request(options);
194 if (result?.retCode == '00000') {
195 //打印签到结果
196 $.log(`🌸账号[${this.index}]` + `🕊当前已签到${result.data.totalSignDay}天🎉`);
197 } else {
198 $.log(`🌸账号[${this.index}] 签到-失败:${result.retInfo}❌`)
199 }
200
201
202
203
204 }
205
206
207

Callers 1

runMethod · 0.95

Calls 2

requestMethod · 0.95
logMethod · 0.45

Tested by

no test coverage detected