Commit 4300e522 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request !74
parents 18b69668 d2a257c9
...@@ -89,7 +89,7 @@ class ProductBatchCreate(BaseView): ...@@ -89,7 +89,7 @@ class ProductBatchCreate(BaseView):
def create_product(self, product_info): def create_product(self, product_info):
error, ret = self.call_rpc('neptune/commodity/product/create', error, ret = self.call_rpc('neptune/commodity/product/create',
cn_name=product_info.get('cn_name'), en_name=product_info.get('en_name'), cn_name=product_info.get('cn_name'), en_name=product_info.get('en_name'),
image=product_info.get('image'), norms=product_info.get('norms'), image=product_info.get('image', ''), norms=product_info.get('norms'),
grade=product_info.get('grade'), price=product_info.get('price'), grade=product_info.get('grade'), price=product_info.get('price'),
country=product_info.get('country'), country=product_info.get('country'),
comment_nums=product_info.get('comment_nums'), comment_nums=product_info.get('comment_nums'),
......
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