Commit 92a406c2 authored by 邱阿朋's avatar 邱阿朋

feat(app): 为广告成本数据添加时间戳

在广告成本数据推送中添加了当前时间戳,以便于数据接收方了解数据发送的时间。这有助于提高数据的准确性和可用性。
parent 76e3f0a5
......@@ -119,6 +119,7 @@ class AdvertCost(AutoInterface):
push_data = {
'asin': asin, # ASIN
'spend': item_row.get('Spend(USD)', ''), # 金额
'timestamp': int(datetime.now().timestamp()),
}
# 推送数据
rabbit.send_message(push_data)
......
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