Commit ddeda35f authored by 邱阿朋's avatar 邱阿朋

fix(vc): 修正日本站广告数据字段名称

- 将日本站的 '商品' 字段改为 'Products'
- 将日本站的 '花费(JPY)' 字段改为 'Spend(JPY)'
parent b8a2e595
...@@ -122,8 +122,8 @@ class AdvertCost(AutoInterface): ...@@ -122,8 +122,8 @@ class AdvertCost(AutoInterface):
asin = item_row.get('Products', '').split("-")[0] asin = item_row.get('Products', '').split("-")[0]
spend = item_row.get('Spend(USD)', 0.00), # 金额 spend = item_row.get('Spend(USD)', 0.00), # 金额
elif self.country == "JP": elif self.country == "JP":
asin = item_row.get('商品', '').split("-")[0] asin = item_row.get('Products', '').split("-")[0]
spend = item_row.get('花费(JPY)', 0.00), # 金额 spend = item_row.get('Spend(JPY)', 0.00), # 金额
elif self.country == "CA": elif self.country == "CA":
asin = item_row.get('Products', '').split("-")[0] asin = item_row.get('Products', '').split("-")[0]
spend = item_row.get('Spend(CAD)', 0.00), # 金额 spend = item_row.get('Spend(CAD)', 0.00), # 金额
......
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