Commit 8a19859e authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'master'

fix

See merge request !187
parents bf53e2ef 6466ec2e
...@@ -87,7 +87,7 @@ class BatchCreateTopicWithAiFashionTag(APIView): ...@@ -87,7 +87,7 @@ class BatchCreateTopicWithAiFashionTag(APIView):
json_data = json.load(json_file) json_data = json.load(json_file)
self.rpc['venus/sun/tools/batch_create_topic_with_ai_fashion_tag'](infos=json_data).unwrap() self.rpc['venus/sun/tools/batch_create_topic_with_ai_fashion_tag'](infos=json_data).unwrap()
if tag_infos: if tag_infos:
json_data = json.load(tag_infos) json_data = json.loads(tag_infos)
self.rpc['venus/sun/tools/batch_create_topic_with_ai_fashion_tag'](infos=json_data).unwrap() self.rpc['venus/sun/tools/batch_create_topic_with_ai_fashion_tag'](infos=json_data).unwrap()
return {'message': u'上传成功', 'code': 200} return {'message': u'上传成功', 'code': 200}
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