diff --git a/models/ProfileRank.js b/models/ProfileRank.js index 01ba648d..11e85dcd 100644 --- a/models/ProfileRank.js +++ b/models/ProfileRank.js @@ -272,7 +272,8 @@ export default class ProfileRank { if (!uid) { return false } - if (uid * 1 < 100000005) { + // 预设面板不参与排名 + if (uid * 1 < 100000006) { return false } try { diff --git a/models/ProfileReq.js b/models/ProfileReq.js index 6e84c13f..b1877e6b 100644 --- a/models/ProfileReq.js +++ b/models/ProfileReq.js @@ -13,7 +13,8 @@ export default class ProfileReq extends Base { if (!e || !e.uid) { return false } - if (e.uid * 1 < 100000005) { + // 预设面板不更新数据 + if (e.uid * 1 < 100000006) { return false } return new ProfileReq(e, game) diff --git a/models/player/EnkaApi.js b/models/player/EnkaApi.js index 52f37b4e..b46ad848 100644 --- a/models/player/EnkaApi.js +++ b/models/player/EnkaApi.js @@ -18,7 +18,7 @@ export default { HttpsProxyAgent = await import('https-proxy-agent').catch((err) => { logger.error(err) }) - HttpsProxyAgent = HttpsProxyAgent ? HttpsProxyAgent.default : undefined + HttpsProxyAgent = HttpsProxyAgent ? HttpsProxyAgent.HttpsProxyAgent : undefined } if (HttpsProxyAgent) { params.agent = new HttpsProxyAgent(proxy)