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

Function checkEnv

qtx.js:254–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

252
253//********************************************************
254async function checkEnv() {
255 if (userCookie) {
256 // console.log(userCookie);
257 let e = envSplitor[0];
258 for (let o of envSplitor)
259 if (userCookie.indexOf(o) > -1) {
260 e = o;
261 break;
262 }
263 for (let n of userCookie.split(e)) n && userList.push(new UserInfo(n));
264 userCount = userList.length;
265 } else {
266 console.log("未找到CK");
267 return;
268 }
269 return console.log(`共找到${userCount}个账号`), true;//true == !0
270}
271/////////////////////////////////////////////////////////////////////////////////////
272
273function httpRequest(options, method) {

Callers 1

qtx.jsFile · 0.70

Calls 1

logMethod · 0.45

Tested by

no test coverage detected