Browse Source

循环播报

master
weigang 5 years ago
parent
commit
c46c142f64
  1. 2
      app/Service/DeviceServiceImp.php

2
app/Service/DeviceServiceImp.php

@ -90,7 +90,7 @@ class DeviceServiceImp implements DeviceServiceInterFace
public function pubMsgToStoreByDevName($dev_names, $msg)
{
foreach ($dev_names as $key => $dev_name) {
$this->IOTService->pub($dev_name, $msg);
$this->IOTService->pub($dev_name['device_name'], $msg);
}
return true;

Loading…
Cancel
Save