update 数据采集接口

This commit is contained in:
chenbo 2023-12-13 13:44:21 +08:00
parent 9dfd62ac73
commit 7659cea767
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class DataCollectController extends BaseApiController
'rainfall' => $payload['rainfall'], 'rainfall' => $payload['rainfall'],
'ambient_lighting' => $payload['ambient_lighting'], 'ambient_lighting' => $payload['ambient_lighting'],
'soil_temperature' => $payload['soil_temperature'], 'soil_temperature' => $payload['soil_temperature'],
'soil_conductivity' => $payload['soil_conductivity'],
'soil_moisture' => $payload['soil_moisture'], 'soil_moisture' => $payload['soil_moisture'],
'soil_PH' => $payload['soil_PH'], 'soil_PH' => $payload['soil_PH'],
'soil_potassium_phosphate_nitrogen' => $payload['soil_potassium_phosphate_nitrogen'], 'soil_potassium_phosphate_nitrogen' => $payload['soil_potassium_phosphate_nitrogen'],