Update jd_fruit.js

This commit is contained in:
Faker 2022-10-12 18:12:15 +08:00
parent 3871ab4cea
commit 5c3dc3efd4

View File

@ -1209,7 +1209,7 @@ function shareCodesFormat() {
if ($.shareCodesArr[$.index - 1]) {
newShareCodes = $.shareCodesArr[$.index - 1].split("@");
} else {
console.log(`由于您第${$.index}个京东账号未提供shareCode,将采纳本脚本自带的助力码\n`);
console.log(`由于您第${$.index}个京东账号未提供shareCode,脚本无内置助力码,放心使用\n`);
const tempIndex = $.index > shareCodes.length ? shareCodes.length - 1 : $.index - 1;
newShareCodes = shareCodes[tempIndex].split("@");
}