update 数据采集接口
This commit is contained in:
parent
f36404ae71
commit
1155dac72a
|
@ -22,7 +22,7 @@ class DataCollectController extends BaseApiController
|
|||
$land = explode('_', $parmas['username']); // 命名规则:land_id id土地表主键id
|
||||
$device = explode('_', $parmas['topic']); // 命名规则:topic_deviceid deviceid为设备主键id
|
||||
$data = [
|
||||
'land_id' => $land[1],
|
||||
'land_id' => $land[3],
|
||||
'topic'=>$device[1],
|
||||
'qos'=>$parmas['qos'],
|
||||
'wind_speed' => $payload['wind_speed'],
|
||||
|
|
Loading…
Reference in New Issue