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

Function checkEnv

backup/sysxc.js:258–274  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

256//********************************************************
257// 变量检查与处理
258async function checkEnv() {
259 if (userCookie) {
260 // console.log(userCookie);
261 let e = envSplitor[0];
262 for (let o of envSplitor)
263 if (userCookie.indexOf(o) > -1) {
264 e = o;
265 break;
266 }
267 for (let n of userCookie.split(e)) n && userList.push(new UserInfo(n));
268 userCount = userList.length;
269 } else {
270 console.log("未找到CK");
271 return;
272 }
273 return console.log(`共找到${userCount}个账号`), true;//true == !0
274}
275/////////////////////////////////////////////////////////////////////////////////////
276function httpRequest(options, method) {
277 typeof (method) === 'undefined' ? ('body' in options ? method = 'post' : method = 'get') : method = method

Callers 1

sysxc.jsFile · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected