💕

4Amy 管理后台

{{ loginError }}

💕 4Amy 管理后台

{{ stats.orders || 0 }}
总订单
{{ stats.tenants?.active || 0 }}
活跃租户
{{ stats.tenants?.expired || 0 }}
已过期
{{ stats.tenants?.suspended || 0 }}
已暂停
{{ licenseStats.active || 0 }}
有效授权
{{ order.subdomain }} {{ getOrderStatusText(order.status) }}
套餐: {{ order.planName || '-' }}
{{ formatDate(order.createdAt) }}
暂无订单
{{ 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.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.name }} 永久版 租用版
¥{{ plan.price }}
ID: {{ planId }}
永久 {{ plan.days }} 天
💡 Plan ID 从爱发电方案链接获取,格式如:https://afdian.com/order/create?plan_id=xxx 中的 xxx

续期 - {{ renewModal.subdomain }}

当前状态: 永久有效 {{ formatDate(renewModal.currentExpiry) }}
自定义:

🔐 重置密码 - {{ resetPasswordModal.subdomain }}

加载用户列表...
该租户暂无用户数据

编辑租户

修改后数据库和上传目录会同步更新

{{ planModal.isEdit ? '编辑套餐' : '添加套餐' }}

{{ planModal.type === 'tenant' ? '租用版:无需部署,使用分配的二级域名' : '永久版:自己部署,自定义域名(不含源码)' }}

天(0 = 永久)
¥

{{ licenseModal.isEdit ? '编辑授权' : '创建授权' }}

0 = 永久

续期授权

License Key:{{ licenseRenewModal.licenseKey }}
当前状态: 永久有效 {{ formatDate(licenseRenewModal.currentExpiry) }}
自定义:

授权详情

License Key
{{ licenseDetailModal.data.licenseKey }}
客户名称
{{ licenseDetailModal.data.customerName || '-' }}
客户邮箱
{{ licenseDetailModal.data.customerEmail || '-' }}
到期时间
永久有效 {{ formatDate(licenseDetailModal.data.expiresAt) }}
状态
{{ getLicenseStatusText(licenseDetailModal.data) }}
验证次数
{{ licenseDetailModal.data.verifyCount || 0 }}
最后验证
{{ licenseDetailModal.data.lastVerifiedAt ? formatDate(licenseDetailModal.data.lastVerifiedAt) : '-' }}
最后验证 IP
{{ licenseDetailModal.data.lastVerifiedIp || '-' }}
创建时间
{{ formatDate(licenseDetailModal.data.createdAt) }}
绑定机器码
{{ licenseDetailModal.data.machineId }}
未绑定
待绑定机器码
{{ licenseDetailModal.data.lastMachineId }}
备注
{{ licenseDetailModal.data.note }}

最近验证记录

{{ formatDate(log.createdAt) }} {{ log.result === 'success' ? '成功' : '失败' }}
{{ log.action }} - {{ log.domain || '-' }}
IP: {{ log.ip || '-' }}
暂无记录

🔗 绑定机器码

License Key: {{ bindMachineModal.licenseKey }}

客户启动程序后会显示机器码,请粘贴到此处

客户最近尝试验证的机器码:
{{ bindMachineModal.lastMachineId }}
点击上方机器码可自动填入

✅ 手动标记已付

域名:{{ approveModal.subdomain }}
套餐:{{ approveModal.planName || '-' }}
自定义: