Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jiajunw6
Iotfinal
Commits
fffb4fd0
Commit
fffb4fd0
authored
May 16, 2022
by
jiajunw6
Browse files
Update dashboard/app/devices_save.php
parent
7eafd63c
Pipeline
#194738
failed with stages
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
dashboard/app/devices_save.php
View file @
fffb4fd0
...
...
@@ -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
}
"
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment