BoxJs上线京喜工厂的好友邀请码填写功能

This commit is contained in:
lxk0301
2021-01-31 21:40:07 +08:00
parent a803dc5f12
commit 2c8b8935c7
2 changed files with 7 additions and 2 deletions

View File

@ -1391,7 +1391,7 @@ function requireConfig() {
})
} else {
$.shareCodesArr = $.getdata('jd_jxFactory').split('\n').filter(item => item !== "" && item !== null && item !== undefined);
console.log(`喜工厂邀请码:${$.getdata('jd_jxFactory')}`);
console.log(`\nBoxJs设置的京喜工厂邀请码:${$.getdata('jd_jxFactory')}\n`);
}
// console.log(`\n种豆得豆助力码::${JSON.stringify($.shareCodesArr)}`);
console.log(`您提供了${$.shareCodesArr.length}个账号的${$.name}助力码\n`);

View File

@ -930,6 +930,11 @@
"id": "jd_dreamFactory",
"name": "京喜工厂",
"keys": ["jd_jxFactory"],
"descs_html": [
"请在输入框输入跟你互助的京喜工厂的好友互助码",
"同一个京东账号的好友邀请码用@隔开,不同京东账号互助码用换行(return按键)隔开",
"下方输入框给出一个示例,自己使用时删除示例邀请码然后按示例填写即可"
],
"settings": [
{
"id": "jd_jxFactory",
@ -942,7 +947,7 @@
}
],
"icons": [
"https://raw.githubusercontent.com/Orz-3/mini/master/jd.png",
"https://raw.githubusercontent.com/58xinian/icon/master/jdgc_mini.png",
"https://github.com/58xinian/icon/raw/master/jdgc.png"
],
"author": "@lxk0301",