Commit 30742d6c authored by haowang's avatar haowang

fix code

parent 80029a3d
......@@ -82,8 +82,9 @@ class ProductBatchCreate(BaseView):
def create_product(self, product_info):
error, ret = self.call_rpc('neptune/commodity/product/create',
cn_name=product_info.get('cn_name'), norms=product_info.get('norms'),
grades=product_info.get('grades'), price=product_info.get('price'),
grade=product_info.get('grade'), price=product_info.get('price'),
en_name=product_info.get('en_name'), country=product_info.get('country'),
comment_nums=product_info.get('comment_nums'),
origin_product_id=product_info.get('id'), platform=PRODUCT_FLATFORM.BEVOL)
return error, ret
......
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