|
@@ -19,7 +19,7 @@ class DeviceController extends Controller
|
|
|
|
|
|
public function heartbeat(Request $request){
|
|
|
$data = $request->all();
|
|
|
- Log::channel('apiLog')->info('smkq', ['data' => $data]);
|
|
|
+ Log::channel('apiLog')->info('smkq-heartbeat', ['data' => $data]);
|
|
|
$emloyee = new Employee();
|
|
|
$emloyee = $emloyee->where('is_device',0)->get()->toArray();
|
|
|
|
|
@@ -62,6 +62,11 @@ class DeviceController extends Controller
|
|
|
echo json_encode($return,JSON_UNESCAPED_UNICODE);
|
|
|
}
|
|
|
|
|
|
+ public function addperson(Request $request){
|
|
|
+ $data = $request->all();
|
|
|
+ Log::channel('apiLog')->info('smkq-addperson', ['data' => $data]);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|