Commit 38d5476e authored by lixiaofang's avatar lixiaofang

add

parent a6894792
......@@ -26,8 +26,9 @@ def get_edit_tag_id_list(topic_id):
def get_tag_id_list(topic_id):
try:
tag_id_list = list(
TopicTag.objects.using(settings.SLAVE_DB_NAME).filter(topic_id=topic_id, tag_id=123).values_list("tag_id",
flat=True))
TopicTag.objects.using(settings.SLAVE_DB_NAME).filter(topic_id=topic_id, tag_id=10332212).values_list(
"tag_id",
flat=True))
return tag_id_list
except:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment