feat: 线程池扩容、会员注册和过期逻辑优化、API管理页面显示当前配置

- 线程池扩容:TaskQueueService 10->20, AsyncConfig 核心5->10/最大20->40/队列50->100
- 新用户注册自动创建免费会员记录(永久有效到2099年)
- 付费会员过期自动降级为免费会员并清零积分
- API管理页面显示当前API密钥(脱敏)和端点
- 修复StoryboardVideoCreate.vue语法错误
This commit is contained in:
AIGC Developer
2026-01-11 21:32:33 +08:00
parent a66bd806b2
commit 8404cb2b7a
50 changed files with 2635 additions and 971 deletions

View File

@@ -40,7 +40,7 @@
<!-- 金额显示 -->
<div class="amount-section">
<div class="amount-label">金额</div>
<div class="amount-value">${{ amount }}</div>
<div class="amount-value">${{ formatAmount(amount) }}</div>
</div>
<!-- 支付宝支付区域 -->
@@ -128,6 +128,12 @@ const loading = ref(false)
const currentPaymentId = ref(null)
let paymentPollingTimer = null
let isPaymentStarted = false // 防止重复调用
// 格式化金额,保留两位小数
const formatAmount = (amount) => {
if (amount === null || amount === undefined) return '0.00'
return Number(amount).toFixed(2)
}
let lastPlanType = '' // 记录上一次的套餐类型
// 从orderId中提取套餐类型如 SUB_standard_xxx -> standard