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

@@ -61,6 +61,17 @@ type StressConfig struct {
type ReportConfig struct {
Path string `yaml:"path"` // 报告保存路径
Print PrintConfig `yaml:"print"` // 打印配置
HTML HTMLConfig `yaml:"html"` // HTML 报告配置
}
// HTMLConfig HTML 报告配置
type HTMLConfig struct {
BaseURL string `yaml:"base_url"` // HTML 报告访问基地址(如 http://192.168.1.10:8080空则只保存本地
Path string `yaml:"path"` // HTML 报告保存目录,空 = 与 txt 报告同目录
Filename string `yaml:"filename"` // 文件名模板,支持 {mac} {ip} {ts},默认 report-{mac}-{ip}-{ts}.html
// QRURL 热敏打印中二维码指向的 URL 模板,支持 {filename} {mac} {ip} {ts} 占位
// 留空时用 BaseURL + 实际文件名拼接
QRURL string `yaml:"qr_url"`
}
// PrintConfig 打印配置