|
@@ -55,6 +55,8 @@ class DeviceController extends Controller
|
|
|
$return['api'] = 'addperson';
|
|
|
$return['records'] = $recodes;
|
|
|
}
|
|
|
+ $return['time'] = time();
|
|
|
+ $return['transaction_id'] = date('YmdHis').rand(1000,9999);
|
|
|
echo json_encode($return,JSON_UNESCAPED_UNICODE);
|
|
|
}
|
|
|
|