update order producer

This commit is contained in:
2026-02-05 10:37:23 +08:00
parent b3d0f932f1
commit c188368483
+3 -2
View File
@@ -72,14 +72,15 @@ class OrderProducer extends ProducerMessage
return [
'message_id' => $this->generateMessageId($data),
'timestamp' => date('c'), // ISO 8601 格式
'platform' => 'tmall',
'platform' => 'platform_unkonw',
'data_type' => 'order',
'meta' => [
'platform_id' => $data['platform_id'] ?? null,
'company_id' => $data['company_id'] ?? null,
'store_id' => $data['store_id'] ?? null,
'platform_store_id' => $data['platform_store_id'] ?? null,
'unique_id' => $data['unique_id'] ?? null,
'source_system' => 'tmall-open-api',
'source_system' => 'origin_unknow',
'retry_count' => 0,
'data_version' => $data['data_version'] ?? time(),
],