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
92a406c2
Commit
92a406c2
authored
Jul 14, 2025
by
邱阿朋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): 为广告成本数据添加时间戳
在广告成本数据推送中添加了当前时间戳,以便于数据接收方了解数据发送的时间。这有助于提高数据的准确性和可用性。
parent
76e3f0a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
advert_cost.py
app/vc/advert_cost.py
+1
-0
No files found.
app/vc/advert_cost.py
View file @
92a406c2
...
@@ -119,6 +119,7 @@ class AdvertCost(AutoInterface):
...
@@ -119,6 +119,7 @@ class AdvertCost(AutoInterface):
push_data
=
{
push_data
=
{
'asin'
:
asin
,
# ASIN
'asin'
:
asin
,
# ASIN
'spend'
:
item_row
.
get
(
'Spend(USD)'
,
''
),
# 金额
'spend'
:
item_row
.
get
(
'Spend(USD)'
,
''
),
# 金额
'timestamp'
:
int
(
datetime
.
now
()
.
timestamp
()),
}
}
# 推送数据
# 推送数据
rabbit
.
send_message
(
push_data
)
rabbit
.
send_message
(
push_data
)
...
...
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