feat: 飞牛NAS成本审核更新 - 新增SKU、更新价格表、清理归档及订单记录,同步auto-check改动
This commit is contained in:
@@ -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 打印配置
|
||||
|
||||
Reference in New Issue
Block a user