管理後台 v2.0
{{ adminUser?.name || '管理員' }}
{{ adminUser?.role === 'super_admin' ? '超級管理員' : '管理員' }}
總用戶數
{{ stats.totalUsers.toLocaleString() }}
+{{ stats.newUsersToday }} 今日新增
付費用戶
{{ stats.paidUsers.toLocaleString() }}
轉化率 {{ stats.conversionRate }}%
總收入
{{ stats.totalRevenue.toLocaleString() }} USDT
+{{ stats.revenueToday }} USDT 今日
可用卡密
{{ stats.unusedLicenses.toLocaleString() }}
共 {{ stats.totalLicenses }} 張
{{ info.icon }}
{{ info.name }}
{{ info.unused }}
可用 / {{ info.total }}
| 用戶 | 等級 | 到期時間 | 邀請數 | 消費 | 註冊時間 | 操作 |
|---|---|---|---|---|---|---|
|
{{ user.email ? user.email[0].toUpperCase() : '?' }}
{{ user.email || user.nickname || '未設置' }} {{ (user.machineId || '').slice(0,16) }}... |
{{ user.levelIcon }} {{ user.levelName }} | ♾️ 終身 {{ formatDate(user.expiresAt) || '未激活' }} | {{ user.totalInvites }} 人 - | {{ user.totalSpent }} USDT - | {{ formatDate(user.createdAt) }} |
|
| 暫無用戶數據 | ||||||
太棒了!沒有即將到期的用戶
| 用戶 | 等級 | 到期時間 | 剩餘天數 | 消費金額 | 操作 |
|---|---|---|---|---|---|
|
{{ user.email ? user.email[0].toUpperCase() : '?' }}
{{ user.email || '未設置' }} {{ user.user_id }} |
{{ user.level_icon }} {{ user.level_name }} | {{ formatDate(user.expires_at) }} | {{ user.days_remaining }} 天 | {{ user.total_spent || 0 }} USDT |
|
{{ info.icon }}
{{ info.name }}
{{ info.unused }}
可用 / {{ info.total }}
| 卡密 | 類型 | 價格 | 狀態 | 創建時間 | 使用時間 | 操作 |
|---|---|---|---|---|---|---|
{{ license.key }}
|
{{ license.typeName }} | {{ license.price }} USDT | {{ getStatusText(license.status) }} | {{ license.createdAt }} | {{ license.usedAt || '-' }} |
|
| 暫無卡密數據 | ||||||
| 訂單號 | 用戶 | 產品 | 金額 | 狀態 | 時間 | 操作 |
|---|---|---|---|---|---|---|
{{ order.orderId || order.order_id }}
|
{{ order.user_id || '-' }} | {{ order.productName || order.product_name || '-' }} | {{ order.final_price || 0 }} USDT (-{{ order.discount_amount }} USDT) | {{ order.status === 'paid' ? '已支付' : order.status === 'pending' ? '待支付' : '已取消' }} | {{ formatDate(order.created_at) }} | - |
| 暫無訂單數據 | ||||||
總邀請數
{{ referralStats.totalReferrals || 0 }}
總獎勵發放
{{ referralStats.totalEarnings || 0 }} USDT
邀請達人
{{ referralStats.leaderboard?.length || 0 }}
{{ user.nickname || user.email || '未知用戶' }}
邀請碼: {{ user.invite_code }}
{{ user.total_invites }} 人
{{ user.invite_earnings || 0 }} USDT
👋 邀請註冊獎勵
邀請者獲得 3 天會員,被邀請者獲得 1 天會員
💎 首次付費獎勵
白銀: 7天 + 1 USDT
黃金: 15天 + 3 USDT
鑽石: 30天 + 10 USDT
星耀: 45天 + 30 USDT
王者: 60天 + 100 USDT
🔄 重複付費返傭
被邀請者每次付費,邀請者獲得 10% 返傭
| 時間 | 操作員 | 操作類型 | 操作 | 詳情 |
|---|---|---|---|---|
| {{ formatDate(log.createdAt || log.created_at) }} | {{ log.username }} | {{ log.action_type || log.actionType || '-' }} | {{ log.action }} | {{ log.details || '-' }} |
| 暫無操作日誌 | ||||
| 用戶名 | 姓名 | 郵箱 | 角色 | 狀態 | 最後登錄 | 操作 |
|---|---|---|---|---|---|---|
| 👑 {{ admin.username }} {{ admin.username }} | {{ admin.name || '-' }} | {{ admin.email || '-' }} | {{ admin.role === 'super_admin' ? '超級管理員' : admin.role === 'admin' ? '管理員' : '查看者' }} | {{ admin.is_active ? '✓ 正常' : '✗ 禁用' }} | {{ formatDate(admin.last_login_at) || '從未' }} |
|
| 標題 | 類型 | 狀態 | 置頂 | 創建時間 | 操作 |
|---|---|---|---|---|---|
| {{ ann.title }} | {{ ann.announcement_type }} | {{ ann.status === 'published' ? '已發布' : '草稿' }} | 📌 - | {{ formatDate(ann.created_at) }} |
|
| 暫無公告 | |||||
總收入
{{ (revenueReport.summary?.total_revenue || 0).toLocaleString() }} USDT
{{ (revenueReport.summary?.growth_rate || 0) >= 0 ? '↑' : '↓' }} {{ Math.abs(revenueReport.summary?.growth_rate || 0) }}% 較上期
訂單數
{{ (revenueReport.summary?.total_orders || 0).toLocaleString() }}
付費訂單
付費用戶
{{ (revenueReport.summary?.unique_buyers || 0).toLocaleString() }}
獨立買家
客單價
{{ (revenueReport.summary?.avg_order_value || 0).toFixed(2) }} USDT
平均訂單金額
| 等級 | 訂單數 | 收入 |
|---|---|---|
| {{ getLevelName(item.product_level) }} | {{ item.order_count }} | {{ item.revenue?.toLocaleString() }} USDT |
| 時長 | 訂單數 | 收入 |
|---|---|---|
| {{ getDurationName(item.duration_type) }} | {{ item.order_count }} | {{ item.revenue?.toLocaleString() }} USDT |
總用戶
{{ userAnalytics.conversion?.totalUsers || 0 }}
付費用戶
{{ userAnalytics.conversion?.paidUsers || 0 }}
{{ userAnalytics.conversion?.paidRate || 0 }}%
ARPU
{{ userAnalytics.arpu || 0 }} USDT
用戶平均收入
ARPPU
{{ userAnalytics.arppu || 0 }} USDT
付費用戶平均
邀請轉化
{{ userAnalytics.referralStats?.converted_referrals || 0 }}
共 {{ userAnalytics.referralStats?.total_referrals || 0 }} 人
次日留存
7日留存
30日留存
{{ userAnalytics.referralStats?.total_referrals || 0 }}
總邀請數
{{ userAnalytics.referralStats?.converted_referrals || 0 }}
轉化付費
{{ (userAnalytics.referralStats?.total_rewards || 0).toLocaleString() }} USDT
總獎勵發放
今日總消息
{{ quotaStats.reduce((sum, u) => sum + (u.messagesUsed || 0), 0).toLocaleString() }}
今日 AI 調用
{{ quotaStats.reduce((sum, u) => sum + (u.aiUsed || 0), 0).toLocaleString() }}
配額緊張用戶
{{ quotaStats.filter(u => u.messagesPercent >= 90 || u.aiPercent >= 90).length }}
活躍用戶
{{ quotaStats.filter(u => u.messagesUsed > 0 || u.aiUsed > 0).length }}
| 用戶 | 等級 | 消息用量 | AI 用量 | 最後活動 |
|---|---|---|---|---|
|
{{ user.email || user.user_id }} |
{{ user.level_icon }} {{ user.level_name }} |
|
|
{{ formatDate(user.last_active) }} |
| 暫無數據 | ||||
{{ notif.content }}
| 設備 | 用戶 | 狀態 | 最後活動 | IP 地址 | 操作 |
|---|---|---|---|---|---|
|
💻
{{ device.device_name || '未知設備' }} {{ device.machine_id?.slice(0, 16) }}... |
{{ device.email || '未設置' }} {{ device.level_icon }} {{ device.level_name }} |
🟢 在線 ⚫ 離線 | {{ formatDate(device.last_active) }} | {{ device.ip_address || '-' }} | |
| 暫無設備數據 | |||||
💡 創建 Bot: 在 Telegram 搜索 @BotFather,發送 /newbot
💡 獲取 Chat ID: 將 Bot 加入群組,訪問 https://api.telegram.org/bot<TOKEN>/getUpdates
導出所有用戶信息
導出近30天訂單
導出未使用卡密
| 等級 | 周卡 | 月卡 | 季卡 | 年卡 | 終身 | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| {{ config.icon }} {{ config.name }} | {{ config.prices?.week || 0 }} | {{ config.prices?.month || 0 }} | {{ config.prices?.quarter || 0 }} | {{ config.prices?.year || 0 }} | {{ config.prices?.lifetime || 0 }} |
💡 修改價格後,新訂單將使用新價格。已生成的卡密價格不變。
| 等級 | TG帳號 | 日消息 | AI調用 | 設備數 | 群組數 | 自動回覆 | 定時任務 | 平台API |
|---|---|---|---|---|---|---|---|---|
| {{ config.icon }} {{ config.name }} | {{ formatQuota(config.quotas?.tg_accounts) }} | {{ formatQuota(config.quotas?.daily_messages) }} | {{ formatQuota(config.quotas?.ai_calls) }} | {{ formatQuota(config.quotas?.devices) }} | {{ formatQuota(config.quotas?.groups) }} | {{ formatQuota(config.quotas?.auto_reply_rules) }} | {{ formatQuota(config.quotas?.scheduled_tasks) }} | {{ formatQuota(config.quotas?.platform_api_quota) }} |
{{ userDetail.user?.total_spent || 0 }} USDT
累計消費
{{ userDetail.licenses?.length || 0 }}
使用卡密數
{{ userDetail.referrals?.length || 0 }}
邀請記錄
{{ userDetail.user?.is_banned ? '已封禁' : '正常' }}
帳號狀態
{{ formatQuota(value) }}
{{ getQuotaLabel(key) }}
{{ lic.license_key }}
{{ lic.level }} | {{ lic.duration_days }}天
{{ formatDate(lic.used_at) }}
暫無卡密記錄
{{ confirmDialog.message }}