Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
saturn
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
saturn
Commits
96ecec96
Commit
96ecec96
authored
Jan 17, 2019
by
王浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix unuse print
parent
8edb6733
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
tag.py
api/views/tag.py
+0
-1
topic.py
api/views/topic.py
+0
-1
No files found.
api/views/tag.py
View file @
96ecec96
...
@@ -10,7 +10,6 @@ class CreateTagForBatch(BaseView):
...
@@ -10,7 +10,6 @@ class CreateTagForBatch(BaseView):
"""
"""
def
post
(
self
,
request
):
def
post
(
self
,
request
):
tag_list
=
json
.
loads
(
request
.
POST
.
get
(
"tags"
,
'[]'
))
tag_list
=
json
.
loads
(
request
.
POST
.
get
(
"tags"
,
'[]'
))
print
(
request
.
POST
)
tags
=
[]
tags
=
[]
# 敏感词检测,获取可用的帖子
# 敏感词检测,获取可用的帖子
...
...
api/views/topic.py
View file @
96ecec96
...
@@ -94,7 +94,6 @@ class CreateTopicForBatchByOne(BaseView):
...
@@ -94,7 +94,6 @@ class CreateTopicForBatchByOne(BaseView):
topic_list
=
json
.
loads
(
request
.
POST
.
get
(
"topic_list"
,
'[]'
))
topic_list
=
json
.
loads
(
request
.
POST
.
get
(
"topic_list"
,
'[]'
))
if
not
user_ids
:
if
not
user_ids
:
print
(
user_ids
,
topic_list
)
return
self
.
parameter_invalid_response
()
return
self
.
parameter_invalid_response
()
if
not
topic_list
:
if
not
topic_list
:
...
...
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