Commit 015b2594 by 黄静

hj

parent 50243d41
......@@ -19,7 +19,10 @@ class Recom:
# print(item)
behavior_json = {}
behavior_json['num'] = num
behavior_json['goods_name'] = item['merge_product_name']
if item['merge_product_name']:
behavior_json['goods_name'] = item['merge_product_name']
else:
behavior_json['goods_name'] = item['product_name']
behavior_json['purchase_date'] = str(item['order_add_time'])
behavior_json['contract_amount'] = item['order_pay']
behavior_json['source'] = item['order_channel']
......
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