Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
ww_server
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
waterword
ww_server
Commits
44d817b1
Commit
44d817b1
authored
Oct 31, 2024
by
Tuzhiqiang1996
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化协议 对重启指令的
parent
469313c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
release/ww/ww_server.js
release/ww/ww_server.js
+2
-1
release/ww/ww_server.q.min.js.bc
release/ww/ww_server.q.min.js.bc
+0
-0
No files found.
release/ww/ww_server.js
View file @
44d817b1
...
@@ -459,8 +459,9 @@ function reboot_device(rebootnum){
...
@@ -459,8 +459,9 @@ function reboot_device(rebootnum){
rebootdevice
.
reboot
()
rebootdevice
.
reboot
()
}
}
}
}
const
invalidFuncIds
=
new
Set
([
21
,
27
,
30
,
31
]);
function
handleCallback
(
indexObj
,
funcId
,
args
)
{
function
handleCallback
(
indexObj
,
funcId
,
args
)
{
if
(
funcId
!=
21
&&
funcId
!=
27
)
{
if
(
!
invalidFuncIds
.
has
(
funcId
)
)
{
args
[
0
]
=
indexObj
.
$uri
+
"
_
"
+
args
[
0
];
args
[
0
]
=
indexObj
.
$uri
+
"
_
"
+
args
[
0
];
}
}
console
.
log
(
"
{ Get } funcId=
"
+
funcId
+
"
args=
"
+
args
);
console
.
log
(
"
{ Get } funcId=
"
+
funcId
+
"
args=
"
+
args
);
...
...
release/ww/ww_server.q.min.js.bc
View file @
44d817b1
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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