Commit 1331578c authored by haowang's avatar haowang

add GRAP_PLATFORM.FASHION in topic batch create

parent 13a16f48
......@@ -81,10 +81,12 @@ class CreateTopicForBatch(BaseView):
cache_key = topic_id_cache
elif platform == GRAP_PLATFORM.PIN:
cache_key = topic_id_cache + ":2"
elif platform == GRAP_PLATFORM.FASHION:
cache_key = topic_id_cache + ":3"
else:
return
if platform in (GRAP_PLATFORM.INS, GRAP_PLATFORM.PIN):
if platform in (GRAP_PLATFORM.INS, GRAP_PLATFORM.PIN, GRAP_PLATFORM.FASHION):
for item in topics:
_id = item.get("id")
if not _id:
......
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