zhangqian
2023-12-08 288d78f66ecd1b628e8d1df7a3da99fc5e6880ec
service/device.go
@@ -56,7 +56,7 @@
   if err != nil {
      return err
   }
   if len(deviceList) >= 0 {
   if len(deviceList) > 0 {
      conf.Conf.CurrentDeviceID = deviceList[0]
   } else if conf.Conf.System.DeviceId != "" {
      conf.Conf.CurrentDeviceID = conf.Conf.System.DeviceId