Commit fffb4fd0 authored by jiajunw6's avatar jiajunw6
Browse files

Update dashboard/app/devices_save.php

parent 7eafd63c
Pipeline #194738 failed with stages
in 0 seconds
......@@ -5,7 +5,6 @@ require_once __DIR__.'/../../include/dataset.php';
require_once __DIR__.'/template.php';
//取得get参数
getintnull('id','loginuid','record','upload','reset'); getstr('url');
......@@ -13,7 +12,6 @@ $where=' where 1';
if($id) $where.=' and `id`='.$id;
if(!is_null($loginuid)&&$loginuid==0) {
//$where.=' and `id`>0'; //只有录音设备才能下线
$conn->exec("update `devices` set `logintime`=null, `loginuid`=null, `title`='未登录' {$where}");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment