Commit 329818fc authored by haowang's avatar haowang

fix product code

parent c41527ec
......@@ -67,25 +67,21 @@ class ProductBatchCreate(BaseView):
if brand_info:
error, _ = self.parallel_rpc_call_result['create_brand']
if error:
print('create_brand')
return error, None
if composition_infos:
error, _ = self.parallel_rpc_call_result['batch_create_composition']
if error:
print('batch_create_composition')
return error, None
if category_info:
error, _ = self.parallel_rpc_call_result['create_category']
if error:
print('create_category')
return error, None
if effect_info:
error, _ = self.parallel_rpc_call_result['create_effect']
if error:
print('create_effect', effect_info)
return error, None
return None, result
......
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