diff --git a/app/api/controller/DataCollectController.php b/app/api/controller/DataCollectController.php index 033c9b4b..006c8fb0 100644 --- a/app/api/controller/DataCollectController.php +++ b/app/api/controller/DataCollectController.php @@ -217,7 +217,7 @@ class DataCollectController extends BaseApiController public static function createAlarm($user_id, $device_id, $type, $content, $value) { $data = [ - 'user_id' => $user_id, + 'land_id' => $user_id, 'device_id' => $device_id, 'type' => $type, 'content' => $content,