Files
crypto_monitor_user/docs/license.md
T
dekun 16ef0f31e3 User edition: prune docs, license gate, obfuscate core lib.
Keep deploy/basic docs only; integrate sq.bz121.com license client; encrypt strategy/trade/key_monitor/options/hedge_plan for release.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-17 16:30:58 +08:00

39 lines
1.2 KiB
Markdown
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.
# 软件授权说明(用户版)
授权服务:[https://sq.bz121.com/](https://sq.bz121.com/)
## 激活流程
1. 部署并启动本系统(三所或中控任一页面)。
2. 浏览器打开 **`/license`**(未授权时会自动跳转)。
3. 复制页面上的 **设备 ID**
4. 联系微信 **dekun03** 购买套餐,获得激活码(新购 / 续费 / 换机)。
5.`/license` 粘贴激活码并兑换。
## 套餐(参考)
| 套餐 | 天数 |
|------|------|
| 月卡 | 30 |
| 季卡 | 90 |
| 年卡 | 365 |
续费:在原到期日基础上叠加天数。换机:旧设备立即失效,新设备需换机码。
## 环境变量
在仓库根目录创建 **`license.env`**(勿提交 Git),或写入各实例 `.env`
```env
LICENSE_API_URL=https://sq.bz121.com
LICENSE_CLIENT_KEY=与授权站 CLIENT_API_KEY 相同
# 可选:断网宽限小时数(默认 72
# LICENSE_OFFLINE_GRACE_HOURS=72
# 本地调试可临时关闭门禁(生产勿开)
# LICENSE_DISABLED=false
```
许可状态保存在仓库根目录 **`data/license_state.json`**(三所 + 中控共用)。
系统约每 **3 天** 向授权站校验一次;明确过期或换机后旧设备将无法使用。