zhangzengfei
2024-09-13 dbc038d5318d53ac7c14e26386588c48c621a591
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"