Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amazon_reports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
common
amazon_reports
Commits
ddeda35f
Commit
ddeda35f
authored
Aug 25, 2025
by
邱阿朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(vc): 修正日本站广告数据字段名称
- 将日本站的 '商品' 字段改为 'Products' - 将日本站的 '花费(JPY)' 字段改为 'Spend(JPY)'
parent
b8a2e595
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
advert_cost.py
app/vc/advert_cost.py
+2
-2
No files found.
app/vc/advert_cost.py
View file @
ddeda35f
...
...
@@ -122,8 +122,8 @@ class AdvertCost(AutoInterface):
asin
=
item_row
.
get
(
'Products'
,
''
)
.
split
(
"-"
)[
0
]
spend
=
item_row
.
get
(
'Spend(USD)'
,
0.00
),
# 金额
elif
self
.
country
==
"JP"
:
asin
=
item_row
.
get
(
'
商品
'
,
''
)
.
split
(
"-"
)[
0
]
spend
=
item_row
.
get
(
'
花费
(JPY)'
,
0.00
),
# 金额
asin
=
item_row
.
get
(
'
Products
'
,
''
)
.
split
(
"-"
)[
0
]
spend
=
item_row
.
get
(
'
Spend
(JPY)'
,
0.00
),
# 金额
elif
self
.
country
==
"CA"
:
asin
=
item_row
.
get
(
'Products'
,
''
)
.
split
(
"-"
)[
0
]
spend
=
item_row
.
get
(
'Spend(CAD)'
,
0.00
),
# 金额
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment