From 1d19d8d30e652ffafe83e25d11455a1048e6cfc3 Mon Sep 17 00:00:00 2001 From: "cn.yimian.xyz" Date: Wed, 30 Dec 2020 14:08:39 +0800 Subject: [PATCH] addDev --- functions.php | 1 + getOnlineDevices.php | 35 +++++++++++++++++++++++++++++++++++ logoutDevices.php | 23 +++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 getOnlineDevices.php create mode 100644 logoutDevices.php diff --git a/functions.php b/functions.php index 6670a65..67f76ae 100755 --- a/functions.php +++ b/functions.php @@ -1,5 +1,6 @@ 0, + "updated_at" => date("Y-m-d H:i:s") +), array( + "token" => $token, + "hash" => $hash +)); + +echo json_encode(array("status"=>true));