{{ stats.orders || 0 }}
总订单
{{ stats.tenants?.active || 0 }}
活跃租户
{{ stats.tenants?.expired || 0 }}
已过期
{{ stats.tenants?.suspended || 0 }}
已暂停
{{ licenseStats.active || 0 }}
有效授权
| 域名 | 套餐 | 时间 | 状态 | 操作 |
|---|---|---|---|---|
| {{ order.subdomain }} | {{ order.planName || '-' }} | {{ formatDate(order.createdAt) }} | {{ getOrderStatusText(order.status) }} | |
| 暂无订单 | ||||
{{ order.subdomain }}
{{ getOrderStatusText(order.status) }}
套餐: {{ order.planName || '-' }}
{{ formatDate(order.createdAt) }}
暂无订单
| 域名 | 订单号 | 到期时间 | 状态 | 操作 |
|---|---|---|---|---|
| {{ tenant.subdomain }} | {{ tenant.orderId || tenant.contact || '-' }} | 永久 {{ formatDate(tenant.expiresAt) }} ({{ getDaysLeft(tenant.expiresAt) }}天) | {{ getTenantStatusText(tenant) }} | |
| 暂无租户 | ||||
{{ tenant.subdomain }}
{{ getTenantStatusText(tenant) }}
订单: {{ tenant.orderId || tenant.contact || '-' }}
到期:
永久
{{ formatDate(tenant.expiresAt) }}
({{ getDaysLeft(tenant.expiresAt) }}天)
暂无租户
🔐
授权系统
管理软件授权,支持机器码绑定、到期时间、RSA 签名验证、心跳检测(每分钟)。
客户部署流程:1. 启动程序获取机器码 → 2. 将机器码发送给你 → 3. 在此绑定机器码 → 4. 客户再次启动即可
{{ licenseStats.total || 0 }}
总授权
{{ licenseStats.active || 0 }}
有效
{{ licenseStats.expired || 0 }}
过期
{{ licenseStats.revoked || 0 }}
已吊销
{{ licenseStats.todayVerifies || 0 }}
今日验证
授权列表
| License Key | 机器码 | 客户 | 到期时间 | 状态 | 操作 |
|---|---|---|---|---|---|
|
{{ license.licenseKey }}
|
{{ license.machineId.substring(0, 8) }}...
|
{{ license.customerName || '-' }}
{{ license.customerEmail || '' }}
|
永久 {{ formatDate(license.expiresAt) }} ({{ getDaysLeft(license.expiresAt) }}天) | {{ getLicenseStatusText(license) }} | |
| 暂无授权记录 | |||||
{{ license.licenseKey }}
{{ getLicenseStatusText(license) }}
机器码:
{{ license.machineId.substring(0, 8) }}...
客户:
{{ license.customerName || '-' }}
到期:
永久
{{ formatDate(license.expiresAt) }}
暂无授权记录
💜
爱发电自动支付
用户在申请页面选择套餐并跳转爱发电支付,付款成功后自动开通。
Webhook 地址:
https://admin.4amy.love/api/afdian/webhook
请在爱发电后台「设置 → 开发者设置」中配置此 Webhook 地址
💬
企业微信通知
新订单支付成功后会自动发送企业微信通知。
✅ 已配置
⚠️ 未配置,请在 config.js 中设置 notify.wecom
套餐管理
暂无套餐,点击上方按钮添加
| 方案名称 | 类型 | Plan ID | 有效天数 | 价格 | 操作 |
|---|---|---|---|---|---|
| {{ plan.name }} | 永久版 租用版 | {{ planId }} | 永久 {{ plan.days }} 天 | ¥{{ plan.price }} |
{{ plan.name }}
永久版
租用版
¥{{ plan.price }}
ID: {{ planId }}
永久
{{ plan.days }} 天
💡 Plan ID 从爱发电方案链接获取,格式如:
https://afdian.com/order/create?plan_id=xxx 中的 xxx