From af4a452e90ce41b66100afc6b3e04bdb2129fb21 Mon Sep 17 00:00:00 2001 From: 170-carry Date: Wed, 29 Apr 2026 00:09:54 +0800 Subject: [PATCH] fix: remove bd center team entry request --- h5/hyapp/bd-center/index.html | 4 ++-- h5/hyapp/bd-center/script.js | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/h5/hyapp/bd-center/index.html b/h5/hyapp/bd-center/index.html index f64f8c4..a480650 100644 --- a/h5/hyapp/bd-center/index.html +++ b/h5/hyapp/bd-center/index.html @@ -4,7 +4,7 @@ BD Center - +
@@ -126,6 +126,6 @@
- + diff --git a/h5/hyapp/bd-center/script.js b/h5/hyapp/bd-center/script.js index 0f9be77..23ace83 100644 --- a/h5/hyapp/bd-center/script.js +++ b/h5/hyapp/bd-center/script.js @@ -174,7 +174,6 @@ const params = readURLParams(); const bdCenterEndpoints = { profile: "/team/member/profile", - teamEntry: "/team/entry", identity: "/app/h5/identity", balance: "/wallet/salary-account/balance?salaryType=BD_SALARY", giftPermission: "/sys/bd/own-permission", @@ -189,7 +188,6 @@ const state = { profile: null, identity: null, - teamEntry: null, giftPermission: false, balanceTotal: {}, bill: {}, @@ -901,10 +899,6 @@ state.identity = await requestJSON(bdCenterEndpoints.identity); } - async function fetchTeamEntry() { - state.teamEntry = await requestJSON(bdCenterEndpoints.teamEntry); - } - async function fetchGiftPermission() { state.giftPermission = Boolean(await requestJSON(bdCenterEndpoints.giftPermission)); } @@ -1075,7 +1069,6 @@ const tasks = [ fetchProfile(), fetchIdentity(), - fetchTeamEntry(), fetchGiftPermission(), fetchBalanceTotal(), fetchAgencyBill()