update mq

This commit is contained in:
2025-12-01 11:13:42 +08:00
parent dcca6a109c
commit 68494c99e5
3 changed files with 193 additions and 51 deletions
+2 -1
View File
@@ -74,10 +74,11 @@ class OrderProducer extends ProducerMessage
'timestamp' => date('c'), // ISO 8601 格式
'platform' => 'tmall',
'data_type' => 'order',
'metadata' => [
'meta' => [
'platform_id' => $data['platform_id'] ?? null,
'company_id' => $data['company_id'] ?? null,
'store_id' => $data['store_id'] ?? null,
'unique_id' => $data['unique_id'] ?? null,
'source_system' => 'tmall-open-api',
'retry_count' => 0,
'data_version' => $data['data_version'] ?? time(),