This commit is contained in:
lxk0301
2021-01-14 17:59:50 +08:00
parent e09cf54406
commit 8f146128e4
4 changed files with 16 additions and 6 deletions

View File

@@ -786,7 +786,7 @@ function login(userName) {
})
})
}
function updateInviteCode(url = 'https://raw.githubusercontent.com/lxk0301/updateTeam/master/jd_updateSmallHomeInviteCode.json') {
function updateInviteCode(url = 'https://raw.githubusercontent.com/LXK9301/updateTeam/master/jd_updateSmallHomeInviteCode.json') {
return new Promise(resolve => {
$.get({url}, async (err, resp, data) => {
try {
@@ -803,7 +803,7 @@ function updateInviteCode(url = 'https://raw.githubusercontent.com/lxk0301/updat
})
})
}
function updateInviteCodeCDN(url = 'https://raw.fastgit.org/lxk0301/updateTeam/master/jd_updateSmallHomeInviteCode.json') {
function updateInviteCodeCDN(url) {
return new Promise(async resolve => {
$.get({url}, async (err, resp, data) => {
try {