This commit is contained in:
lxk0301
2020-12-12 15:03:44 +08:00
parent 70ddf57c0d
commit 0c12293de7
3 changed files with 19 additions and 17 deletions

View File

@@ -136,7 +136,7 @@ async function doChannelsListTask(taskId, taskType) {
async function helpFriends() {
await updateInviteCode();
if (!$.inviteCodes) await updateInviteCodeCDN();
if (!$.inviteCodes) await updateInviteCodeCDN('https://cdn.jsdelivr.net/gh/lxk0301/updateTeam@master/jd_updateSmallHomeInviteCode.json');
if (!$.inviteCodes) await updateInviteCodeCDN('https://gitee.com/lxk0301/updateTeam/raw/master/jd_updateSmallHomeInviteCode.json');
for (let item of $.inviteCodes.inviteCode) {
if (!item) continue
await createAssistUser(item, $.createAssistUserID || "1318106976846299138");