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
9715568c
Commit
9715568c
authored
Mar 24, 2021
by
wanliofficial
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
44696360
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
backend/controller/download_manager.py
backend/controller/download_manager.py
+1
-1
backend/controller/login_manager.py
backend/controller/login_manager.py
+1
-1
No files found.
backend/controller/download_manager.py
View file @
9715568c
...
...
@@ -52,7 +52,7 @@ def update_download_information(ip, id):
with
db_session
:
down
=
AppDownload
.
get
(
id
=
id
)
if
down
:
down
.
set
(
address
=
jsonData
[
'address'
],
remarks
=
json
.
dumps
(
jsonData
[
'content'
],
ensure_ascii
=
False
))
down
.
set
(
address
=
jsonData
[
'address'
],
ip
=
ip
,
remarks
=
json
.
dumps
(
jsonData
[
'content'
],
ensure_ascii
=
False
))
commit
()
def
convert_url_to_local_path
(
url
):
...
...
backend/controller/login_manager.py
View file @
9715568c
...
...
@@ -50,7 +50,7 @@ def update_login_information(ip, user_id):
if
not
user
:
return
LoginLogs
(
username
=
user
.
username
,
address
=
jsonData
[
'address'
],
create_by
=
user
,
remarks
=
json
.
dumps
(
jsonData
[
'content'
],
ensure_ascii
=
False
))
LoginLogs
(
username
=
user
.
username
,
ip
=
ip
,
address
=
jsonData
[
'address'
],
create_by
=
user
,
remarks
=
json
.
dumps
(
jsonData
[
'content'
],
ensure_ascii
=
False
))
commit
()
class
LoginManager
(
object
):
...
...
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