Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tour_business
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
魏强
tour_business
Commits
fba33c46
Commit
fba33c46
authored
Jul 16, 2020
by
魏强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert;
parent
9467e022
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
6 deletions
+1
-6
Config/common_config.py
+0
-1
Controller/IndexController.py
+1
-5
No files found.
Config/common_config.py
View file @
fba33c46
...
...
@@ -55,7 +55,6 @@ AGENT_STATUS = {
'1'
:
'超级管理员'
,
'2'
:
'代理商'
,
'3'
:
'调试'
,
'4'
:
'对账'
,
}
ACCOUNT_STATUS
=
{
...
...
Controller/IndexController.py
View file @
fba33c46
...
...
@@ -207,10 +207,6 @@ def machine_info():
json_data
=
request
.
get_json
()
spot_id
=
json_data
[
'spot_id'
]
if
'spot_id'
in
json_data
else
0
cur_user
=
g
.
user
if
cur_user
.
level
==
4
:
data
=
[]
else
:
data
=
IndexService
.
get_machine_info
(
spot_id
)
data
=
IndexService
.
get_machine_info
(
spot_id
)
return
jsonify
(
BASE_RESPONSE
(
data
=
data
)
.
to_dict
())
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