Commit 2d97dda5 authored by 郭羽's avatar 郭羽

service model 优化

parent 34f9cca1
......@@ -679,7 +679,9 @@ def parseSource(_source):
sku_tags_list += sku.setdefault("sku_tags",[])
# sku_tags_list += sku.setdefault("sku_tags_id",[])
sku_show_tags_list.append(sku.setdefault("show_project_type_name",""))
sku_price_list.append(sku.setdefault("price",0.0))
price = sku.setdefault("price", 0.0)
if price > 0:
sku_price_list.append(price)
sku_tags = ",".join([str(i) for i in sku_tags_list]) if len(sku_tags_list) > 0 else "-1"
# sku_show_tags = ",".join(sku_show_tags_list) if len(sku_show_tags_list) > 0 else "-1"
......
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