zhangqian
2023-11-27 252ad9f55e8828bcacb8ddef28c8e9ff0a62f8d6
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