feat: 飞牛NAS成本审核更新 - 新增SKU、更新价格表、清理归档及订单记录,同步auto-check改动

This commit is contained in:
12600k-rog-d4
2026-08-27 00:44:44 +08:00
parent bde60dbea0
commit a172a9bb5e
82 changed files with 1804 additions and 1180 deletions

View File

@@ -6,13 +6,13 @@
# - CIDR: "10.0.3.0/24"
# - IP 范围: "10.0.3.1-10.0.3.100"
scan:
cidr: "10.107.95.2-10.107.95.2"
cidr: "10.0.3.148-10.0.3.148"
timeout: 3s
concurrency: 10
# --- SSH 认证 ---
ssh:
user: "admin-pc"
user: "admin"
password: "admin123"
key: ""
port: 22
@@ -29,7 +29,7 @@ stress:
temp_limit: 90 # 温度上限(°C)超过判失败0=不判定
# --- Docker 镜像(压测统一在容器中执行,工具与脚本预装在镜像里)---
# 固定分发模式:目标机无镜像时,上传本地导出的 tar 并 docker load不依赖 registry
docker_image: "stress-test:latest" # 压测镜像名,镜像维护见 docker/stress-test/
docker_image: "stress-test:20260824-144244" # 压测镜像名,镜像维护见 docker/stress-test/
docker_tar: "docker/stress-test/stress-test.tar" # 本地镜像文件docker save -o 导出)
docker_args: "--network=host --privileged" # Docker 运行参数,--privileged 可访问完整资源
@@ -47,3 +47,12 @@ report:
# usb: 空=自动(Win \\.\usb001 / Linux /dev/usb/lp0), 或指定设备路径
# file: 输出路径
width: 42 # 80mm 热敏纸行宽
html:
base_url: "" # HTML 报告访问基地址(如 http://192.168.1.10:8080扫码链接会拼接到此地址
# 留空则只保存到本地(打印时仅提示本地路径)
path: "" # HTML 保存目录,留空 = 与 txt 报告同目录
filename: "report-{mac}-{ip}-{ts}.html" # 文件名模板
qr_url: "" # 二维码 URL 模板,支持 {filename} {mac} {ip} {ts} 占位
# 例: "http://192.168.1.10:8080/reports/{filename}"
# 留空时自动用 base_url + 实际文件名拼接