zhangzengfei
2024-09-13 dbc038d5318d53ac7c14e26386588c48c621a591
fix config
1个文件已修改
3 ■■■■ 已修改文件
config/config.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/config.go
@@ -72,7 +72,7 @@
    DevName  string `mapstructure:"dev"`
    Baud     int    `mapstructure:"baud"`
    EPC      string `mapstructure:"epc"`
    Position uint8  `mapstructure:"postion"`
    Position uint8  `mapstructure:"position"`
}
type rateLimit struct {
@@ -126,6 +126,7 @@
    v.UnmarshalKey("nvcs", NVCSConf)
    v.UnmarshalKey("rfid", RFIDConf)
    v.UnmarshalKey("image", ImageConf)
    v.UnmarshalKey("systime", SysTimeConf)
    if LogConf.Level == "" {
        LogConf.Level = "info"