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 charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover" />
|
<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>
|
<title>BD Center</title>
|
||||||
<link rel="stylesheet" href="./style.css?v=20260429-0120" />
|
<link rel="stylesheet" href="./style.css?v=20260429-0140" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div class="bd-center" aria-label="BD Center" data-i18n-aria="page_label" data-loading="true">
|
<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 class="toast" id="toast" role="status" aria-live="polite" hidden></div>
|
||||||
</div>
|
</div>
|
||||||
<script src="./script.js?v=20260429-0120" defer></script>
|
<script src="./script.js?v=20260429-0140" defer></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -174,7 +174,6 @@
|
|||||||
const params = readURLParams();
|
const params = readURLParams();
|
||||||
const bdCenterEndpoints = {
|
const bdCenterEndpoints = {
|
||||||
profile: "/team/member/profile",
|
profile: "/team/member/profile",
|
||||||
teamEntry: "/team/entry",
|
|
||||||
identity: "/app/h5/identity",
|
identity: "/app/h5/identity",
|
||||||
balance: "/wallet/salary-account/balance?salaryType=BD_SALARY",
|
balance: "/wallet/salary-account/balance?salaryType=BD_SALARY",
|
||||||
giftPermission: "/sys/bd/own-permission",
|
giftPermission: "/sys/bd/own-permission",
|
||||||
@ -189,7 +188,6 @@
|
|||||||
const state = {
|
const state = {
|
||||||
profile: null,
|
profile: null,
|
||||||
identity: null,
|
identity: null,
|
||||||
teamEntry: null,
|
|
||||||
giftPermission: false,
|
giftPermission: false,
|
||||||
balanceTotal: {},
|
balanceTotal: {},
|
||||||
bill: {},
|
bill: {},
|
||||||
@ -901,10 +899,6 @@
|
|||||||
state.identity = await requestJSON(bdCenterEndpoints.identity);
|
state.identity = await requestJSON(bdCenterEndpoints.identity);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function fetchTeamEntry() {
|
|
||||||
state.teamEntry = await requestJSON(bdCenterEndpoints.teamEntry);
|
|
||||||
}
|
|
||||||
|
|
||||||
async function fetchGiftPermission() {
|
async function fetchGiftPermission() {
|
||||||
state.giftPermission = Boolean(await requestJSON(bdCenterEndpoints.giftPermission));
|
state.giftPermission = Boolean(await requestJSON(bdCenterEndpoints.giftPermission));
|
||||||
}
|
}
|
||||||
@ -1075,7 +1069,6 @@
|
|||||||
const tasks = [
|
const tasks = [
|
||||||
fetchProfile(),
|
fetchProfile(),
|
||||||
fetchIdentity(),
|
fetchIdentity(),
|
||||||
fetchTeamEntry(),
|
|
||||||
fetchGiftPermission(),
|
fetchGiftPermission(),
|
||||||
fetchBalanceTotal(),
|
fetchBalanceTotal(),
|
||||||
fetchAgencyBill()
|
fetchAgencyBill()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user