mirror of
https://github.com/woodchen-ink/openai-billing-query.git
synced 2025-07-18 14:01:59 +08:00
Update index.html
修改图标,保持一致
This commit is contained in:
parent
a5d0712206
commit
b9d9196fb7
@ -426,7 +426,7 @@
|
|||||||
const gpt4CheckResponse = await fetch(gpt4Check, { headers });
|
const gpt4CheckResponse = await fetch(gpt4Check, { headers });
|
||||||
const gpt4CheckData = await gpt4CheckResponse.json();
|
const gpt4CheckData = await gpt4CheckResponse.json();
|
||||||
let GPT4CheckResult = Array.isArray(gpt4CheckData.data) && gpt4CheckData.data.some(item => item.id.includes('gpt-4')) ? '✅' : '❌';
|
let GPT4CheckResult = Array.isArray(gpt4CheckData.data) && gpt4CheckData.data.some(item => item.id.includes('gpt-4')) ? '✅' : '❌';
|
||||||
let isSubscrible = subscriptionData.plan.id.includes('payg') ? '🟢' : '🔴';
|
let isSubscrible = subscriptionData.plan.id.includes('payg') ? '✅' : '❌';
|
||||||
|
|
||||||
if (totalAmount > 20) {
|
if (totalAmount > 20) {
|
||||||
startDate = subDate;
|
startDate = subDate;
|
||||||
@ -440,7 +440,7 @@
|
|||||||
const totalUsage = usageData.total_usage / 100;
|
const totalUsage = usageData.total_usage / 100;
|
||||||
let remaining;
|
let remaining;
|
||||||
if (currentDate > expiryDate) {
|
if (currentDate > expiryDate) {
|
||||||
remaining = "🔴过期";
|
remaining = "❌过期";
|
||||||
} else {
|
} else {
|
||||||
remaining = subscriptionData.system_hard_limit_usd - totalUsage;
|
remaining = subscriptionData.system_hard_limit_usd - totalUsage;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user