fix: remove bd center team entry request
This commit is contained in:
parent
4a955504b9
commit
af4a452e90
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
||||
<title>BD Center</title>
|
||||
<link rel="stylesheet" href="./style.css?v=20260429-0120" />
|
||||
<link rel="stylesheet" href="./style.css?v=20260429-0140" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="bd-center" aria-label="BD Center" data-i18n-aria="page_label" data-loading="true">
|
||||
@ -126,6 +126,6 @@
|
||||
|
||||
<div class="toast" id="toast" role="status" aria-live="polite" hidden></div>
|
||||
</div>
|
||||
<script src="./script.js?v=20260429-0120" defer></script>
|
||||
<script src="./script.js?v=20260429-0140" defer></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user