添加日志打印

This commit is contained in:
lxk0301
2020-12-21 09:57:01 +08:00
parent 7fa38d8918
commit 480ca4510b

View File

@@ -96,6 +96,7 @@ const JD_API_HOST = 'https://lkyl.dianpusoft.cn/api';
if ($.newShareCodes.length > 1) {
let code = $.newShareCodes[(i + 1) % $.newShareCodes.length]
console.log(`\n${$.UserName}去给自己的下一账号${decodeURIComponent(cookiesArr[(i + 1) % $.newShareCodes.length].match(/pt_pin=(.+?);/) && cookiesArr[(i + 1) % $.newShareCodes.length].match(/pt_pin=(.+?);/)[1])}助力\n`)
$.log(`自己的下一账号${decodeURIComponent(cookiesArr[(i + 1) % $.newShareCodes.length].match(/pt_pin=(.+?);/) && cookiesArr[(i + 1) % $.newShareCodes.length].match(/pt_pin=(.+?);/)[1])},助力码为 ${code}`)
await createAssistUser(code, $.createAssistUserID || "1318106976846299138");
}
console.log(`\n去帮助作者:lxk0301\n`)