Files
lislgosms/src/mock/adminData.ts
T

51 lines
1.6 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { AdminOverview, AuditItem, Channel, Customer } from '@/mock/types';
export const adminOverview: AdminOverview = {
todaySubmissions: 128,
pendingAudits: 36,
averageWaitMinutes: 12,
channelHealth: 99.2,
};
export const auditItems: AuditItem[] = [
{
id: 'AUD-2401',
customer: '上海云舟科技',
type: '模板',
content: '验证码 ${code}5 分钟内有效。',
risk: 'low',
status: 'pending',
submittedAt: '2026-06-16 09:12',
},
{
id: 'AUD-2402',
customer: '杭州星澜商贸',
type: '签名',
content: '星澜会员中心',
risk: 'medium',
status: 'pending',
submittedAt: '2026-06-16 09:04',
},
{
id: 'AUD-2403',
customer: '深圳北辰出行',
type: '模板',
content: '您的优惠券已到账,点击链接查看。',
risk: 'high',
status: 'pending',
submittedAt: '2026-06-16 08:46',
},
];
export const customers: Customer[] = [
{ id: 'CUS-1001', name: '上海云舟科技', contact: '赵先生', balance: 286420, status: 'active' },
{ id: 'CUS-1002', name: '杭州星澜商贸', contact: '王女士', balance: 94220, status: 'active' },
{ id: 'CUS-1003', name: '深圳北辰出行', contact: '陈先生', balance: 0, status: 'suspended' },
];
export const channels: Channel[] = [
{ id: 'CH-01', name: '华东主通道', region: '华东', successRate: 99.1, latencyMs: 128, enabled: true },
{ id: 'CH-02', name: '华南通道', region: '华南', successRate: 98.6, latencyMs: 164, enabled: true },
{ id: 'CH-03', name: '备用通道', region: '全国', successRate: 97.8, latencyMs: 210, enabled: true },
];