zhangqian
2023-11-25 efec800478214f3a412f879d2b51c2968515995d
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