Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
evm-store
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
wanli
evm-store
Commits
fe190450
Commit
fe190450
authored
Jul 09, 2021
by
wanliofficial
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
baa16069
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44572 additions
and
13 deletions
+44572
-13
backend/backupData.json
backend/backupData.json
+1
-1
backend/controller/user_manager.py
backend/controller/user_manager.py
+1
-1
backend/runoob.log
backend/runoob.log
+44568
-9
backend/view/monitor.py
backend/view/monitor.py
+2
-2
No files found.
backend/backupData.json
View file @
fe190450
{
"lastModifyDateTime"
:
1624973031
}
\ No newline at end of file
{
"lastModifyDateTime"
:
1625808079
}
\ No newline at end of file
backend/controller/user_manager.py
View file @
fe190450
...
...
@@ -36,7 +36,7 @@ class UserManager(object):
if
isExists
:
return
False
,
"user already exists"
editor
=
User
.
get
(
uu
id
=
uuid
)
editor
=
User
.
get
(
id
=
uuid
)
if
not
editor
:
return
False
,
"current user is not exists"
...
...
backend/runoob.log
View file @
fe190450
This diff is collapsed.
Click to expand it.
backend/view/monitor.py
View file @
fe190450
...
...
@@ -134,6 +134,7 @@ class BaseWebsocket(WebSocketHandler):
def
broadcastMessage
(
cls
,
message
):
# pprint.pprint(cls.handlers)
# pprint.pprint(message)
print
(
"=======>"
,
cls
.
_clients
)
if
not
message
.
get
(
"imei"
):
return
False
...
...
@@ -202,7 +203,6 @@ class NotifyHandler(BaseWebsocket):
if
c
.
get
(
"uuid"
)
==
payload
.
get
(
"data"
)
.
get
(
"uuid"
):
c
[
"ts"
]
=
int
(
time
.
time
())
self
.
write_message
(
json
.
dumps
({
'code'
:
200
,
'data'
:
None
,
'msg'
:
'update session timestamp success'
}))
break
else
:
self
.
write_message
(
json
.
dumps
({
'code'
:
200
,
'data'
:
None
,
'msg'
:
'unkonw message packet, disconnect by server'
}))
self
.
handlers
[
className
]
.
remove
(
self
)
...
...
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