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
91e0de2d
Commit
91e0de2d
authored
Apr 04, 2021
by
Aeolus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
灰兔智能景区首页信息不要返回
parent
e54c8703
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
Controller/IndexController.py
+3
-0
No files found.
Controller/IndexController.py
View file @
91e0de2d
...
...
@@ -13,6 +13,9 @@ route_index = Blueprint('index', __name__)
def
index
():
json_data
=
request
.
get_json
()
spot_id
=
json_data
[
'spot_id'
]
if
'spot_id'
in
json_data
else
0
if
int
(
spot_id
)
==
88
:
return
jsonify
(
OPERATE_TYPE_ERROR
)
data_type
=
json_data
[
'type'
]
if
'type'
in
json_data
else
1
# 1今日,2本周,3本月,4历史
if
int
(
data_type
)
not
in
[
1
,
2
,
3
,
4
]:
...
...
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