支持 & 和换行连接的cookie
This commit is contained in:
@@ -102,7 +102,8 @@ autoHelp(){
|
|||||||
|
|
||||||
############# 短期活动 #############
|
############# 短期活动 #############
|
||||||
|
|
||||||
|
#环球挑战赛
|
||||||
|
autoHelp "环球挑战赛好友互助码" "${logDir}/jd_global.log" "JDGLOBAL_SHARECODES"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -182,7 +182,8 @@ async function getTask() {
|
|||||||
let task = [...timeLimitTask, ...commonTask]
|
let task = [...timeLimitTask, ...commonTask]
|
||||||
for (let vo of task) {
|
for (let vo of task) {
|
||||||
if (vo['taskName'] === '每日邀请好友') {
|
if (vo['taskName'] === '每日邀请好友') {
|
||||||
console.log(`您的好友助力码为 ${vo['jingCommand']['keyOpenapp'].match(/masterPin":"(.*)","/)[1]}`)
|
// console.log(`您的好友助力码为 ${vo['jingCommand']['keyOpenapp'].match(/masterPin":"(.*)","/)[1]}`)
|
||||||
|
console.log(`\n【京东账号${$.index}(${$.nickName || $.UserName})的${$.name}好友互助码】${vo['jingCommand']['keyOpenapp'].match(/masterPin":"(.*)","/)[1]}\n`);
|
||||||
$.invites.push(vo['jingCommand']['keyOpenapp'].match(/masterPin":"(.*)","/)[1]);
|
$.invites.push(vo['jingCommand']['keyOpenapp'].match(/masterPin":"(.*)","/)[1]);
|
||||||
}
|
}
|
||||||
if (['70', '50', '30', '40'].includes(vo['taskType'])) {
|
if (['70', '50', '30', '40'].includes(vo['taskType'])) {
|
||||||
|
Reference in New Issue
Block a user