|
@@ -56,7 +56,7 @@ class Events
|
|
|
$data = self::get_data($message);
|
|
|
if(!empty($data)){
|
|
|
//file_put_contents('1.json',json_encode($data).PHP_EOL,FILE_APPEND);
|
|
|
- $info = Db::name('gateway_test')->insert($data);
|
|
|
+ $info = Db::name('device_sanheyi')->insert($data);
|
|
|
}
|
|
|
|
|
|
}catch (\Exception $e)
|