|
@@ -185,7 +185,7 @@ class Api extends CatchController
|
|
$data=json_decode($jsonData,true);
|
|
$data=json_decode($jsonData,true);
|
|
// debug_log("InAndOUT",$data['cnt']);
|
|
// debug_log("InAndOUT",$data['cnt']);
|
|
$time=$data['time'];
|
|
$time=$data['time'];
|
|
- $mac=$data['mac'];
|
|
|
|
|
|
+ $mac=$data['devId'];
|
|
$text=$text.$data['cnt'];
|
|
$text=$text.$data['cnt'];
|
|
|
|
|
|
if(strlen($text)<24){
|
|
if(strlen($text)<24){
|