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
adea777a
Commit
adea777a
authored
Jul 08, 2021
by
wanli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
682ddfd7
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
20 deletions
+13
-20
backend/apiData.json
backend/apiData.json
+10
-10
backend/controller/user_manager.py
backend/controller/user_manager.py
+1
-1
backend/view/download.py
backend/view/download.py
+0
-1
backend/view/user.py
backend/view/user.py
+0
-1
tools/modules/file-manager/main.py
tools/modules/file-manager/main.py
+2
-7
No files found.
backend/apiData.json
View file @
adea777a
...
@@ -179,8 +179,8 @@
...
@@ -179,8 +179,8 @@
"iconUrl"
:
"http://store.evmiot.com/application/360kids.png"
,
"iconUrl"
:
"http://store.evmiot.com/application/360kids.png"
,
"apkId"
:
"789"
,
"apkId"
:
"789"
,
"version"
:
"v1.0"
,
"version"
:
"v1.0"
,
"homePage"
:
"evue_
calculator
"
,
"homePage"
:
"evue_
album
"
,
"apkDownloadUrl"
:
"
http://store.evmiot.com/evueapps/evm/evue_launcher-1.0-20210420144208/evue_launcher.epk
"
,
"apkDownloadUrl"
:
"
evue_album
"
,
"fileList"
:
"360kids"
"fileList"
:
"360kids"
},
},
{
{
...
@@ -189,8 +189,8 @@
...
@@ -189,8 +189,8 @@
"iconUrl"
:
"http://store.evmiot.com/application/qq_music.png"
,
"iconUrl"
:
"http://store.evmiot.com/application/qq_music.png"
,
"apkId"
:
"456"
,
"apkId"
:
"456"
,
"version"
:
"v1.0"
,
"version"
:
"v1.0"
,
"homePage"
:
"evue_
calculator
"
,
"homePage"
:
"evue_
music
"
,
"apkDownloadUrl"
:
"
calculator
"
,
"apkDownloadUrl"
:
"
evue_music
"
,
"fileList"
:
"qq_music"
"fileList"
:
"qq_music"
},
},
{
{
...
@@ -199,8 +199,8 @@
...
@@ -199,8 +199,8 @@
"iconUrl"
:
"http://store.evmiot.com/application/gaode.png"
,
"iconUrl"
:
"http://store.evmiot.com/application/gaode.png"
,
"apkId"
:
"1015"
,
"apkId"
:
"1015"
,
"version"
:
"v1.0"
,
"version"
:
"v1.0"
,
"homePage"
:
"evue_
calculator
"
,
"homePage"
:
"evue_
dial
"
,
"apkDownloadUrl"
:
"
calculator
"
,
"apkDownloadUrl"
:
"
evue_dial
"
,
"fileList"
:
"gaode"
"fileList"
:
"gaode"
},
},
{
{
...
@@ -209,8 +209,8 @@
...
@@ -209,8 +209,8 @@
"iconUrl"
:
"http://store.evmiot.com/application/didi.png"
,
"iconUrl"
:
"http://store.evmiot.com/application/didi.png"
,
"apkId"
:
"1014"
,
"apkId"
:
"1014"
,
"version"
:
"v1.0"
,
"version"
:
"v1.0"
,
"homePage"
:
"evue_
calculator
"
,
"homePage"
:
"evue_
setting
"
,
"apkDownloadUrl"
:
"
calculator
"
,
"apkDownloadUrl"
:
"
evue_setting
"
,
"fileList"
:
"didi"
"fileList"
:
"didi"
},
},
{
{
...
@@ -220,8 +220,8 @@
...
@@ -220,8 +220,8 @@
"apkId"
:
"001"
,
"apkId"
:
"001"
,
"version"
:
"v1.0"
,
"version"
:
"v1.0"
,
"homePage"
:
"evue_calculator"
,
"homePage"
:
"evue_calculator"
,
"apkDownloadUrl"
:
"calculator"
,
"apkDownloadUrl"
:
"
evue_
calculator"
,
"fileList"
:
"
calculator
"
"fileList"
:
"
alipay
"
}
}
]
]
}
}
\ No newline at end of file
backend/controller/user_manager.py
View file @
adea777a
...
@@ -36,7 +36,7 @@ class UserManager(object):
...
@@ -36,7 +36,7 @@ class UserManager(object):
if
isExists
:
if
isExists
:
return
False
,
"user already exists"
return
False
,
"user already exists"
editor
=
User
.
get
(
uu
id
=
uuid
)
editor
=
User
.
get
(
id
=
uuid
)
if
not
editor
:
if
not
editor
:
return
False
,
"current user is not exists"
return
False
,
"current user is not exists"
...
...
backend/view/download.py
View file @
adea777a
#!/usr/bin/env python
#!/usr/bin/env python
# -*- coding: utf_8 -*-
# -*- coding: utf_8 -*-
import
os
import
logging
import
logging
import
traceback
import
traceback
from
flask
import
Blueprint
,
request
from
flask
import
Blueprint
,
request
...
...
backend/view/user.py
View file @
adea777a
...
@@ -28,7 +28,6 @@ def add():
...
@@ -28,7 +28,6 @@ def add():
return
response_result
(
ResponseCode
.
REQUEST_ERROR
,
msg
=
message
)
return
response_result
(
ResponseCode
.
REQUEST_ERROR
,
msg
=
message
)
except
Exception
as
e
:
except
Exception
as
e
:
traceback
.
print_exc
()
traceback
.
print_exc
()
logger
.
error
(
str
(
e
))
return
response_result
(
ResponseCode
.
SERVER_ERROR
,
msg
=
str
(
e
))
return
response_result
(
ResponseCode
.
SERVER_ERROR
,
msg
=
str
(
e
))
...
...
tools/modules/file-manager/main.py
View file @
adea777a
'''
'''
Author: your name
Author: your name
Date: 2021-06-21 14:52:24
Date: 2021-06-21 14:52:24
LastEditTime: 2021-0
6-30 12:27:59
LastEditTime: 2021-0
7-08 23:50:12
LastEditors: Please set LastEditors
LastEditors: Please set LastEditors
Description: In User Settings Edit
Description: In User Settings Edit
FilePath:
\
evm-store
\t
ools
\
modules
\f
ile-manager
\
main.py
FilePath:
\
evm-store
\t
ools
\
modules
\f
ile-manager
\
main.py
'''
'''
import
os
import
os
import
shutil
import
pprint
import
pprint
from
pathlib
import
Path
,
PurePosixPath
,
PureWindowsPath
from
pathlib
import
Path
import
platform
import
json
import
json
from
fs.osfs
import
OSFS
from
fs
import
open_fs
from
fs.walk
import
Walker
disk_root
=
"D:
\\
projects
\\
scriptiot
\\
evm_app_store_files"
disk_root
=
"D:
\\
projects
\\
scriptiot
\\
evm_app_store_files"
...
...
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