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

Method SignIn

backup/sysxc.js:197–238  ·  view source on GitHub ↗
(SignInpointJson)

Source from the content-addressed store, hash-verified

195 }
196 }
197 async SignIn(SignInpointJson) {
198 try {
199 let options = {
200 url: 'https://scrm-prod.shuyi.org.cn/saas-gateway/api/agg-trade/v1/signIn/insertSignInV3',
201 headers: {
202 Host: 'scrm-prod.shuyi.org.cn',
203 //Connection: 'keep-alive',
204 //charset: 'utf-8',
205 auth: this.ck,
206 //sessionkey: '',
207 //channel: 'wechat_micro',
208 'User-Agent': 'Mozilla/5.0 (Linux; Android 10; MI 8 Lite Build/QKQ1.190910.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/107.0.5304.141 Mobile Safari/537.36 XWEB/5023 MMWEBSDK/20221206 MMWEBID/2585 MicroMessenger/8.0.32.2300(0x2800205D) WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64 MiniProgramEnv/android',
209 //'terminal-code': 'member_wechat_micro',
210 //'sessionKey': '',
211 //releaseversion: '2026331',
212 hostname: 'scrm-prod.shuyi.org.cn',
213 //'httpt-taceid': '',
214 'Content-Type': 'application/json',
215 //channelid: '',
216 //Referer: 'https://servicewechat.com/wxa778c3d895442625/287/page-frame.html'
217 },
218 body: JSON.stringify({
219 "captchaVerification": SignInpointJson
220 })
221 };
222 //console.log(options);
223 let result = await httpRequest(options);
224 //console.log(result);
225 if (result.resultCode == '0') {
226 //console.log(result);
227 DoubleLog(`账号[${this.index}]签到成功啦`);
228 return '0'
229 } else {
230 await $.wait(2000)
231 return '1'
232 //console.log(result);
233 //console.log(`签到失败`);
234 }
235 } catch (e) {
236 console.log(e);
237 }
238 }
239
240
241

Callers 1

checkVcodeMethod · 0.95

Calls 4

httpRequestFunction · 0.70
DoubleLogFunction · 0.70
waitMethod · 0.45
logMethod · 0.45

Tested by

no test coverage detected