update order producer
This commit is contained in:
@@ -72,14 +72,15 @@ class OrderProducer extends ProducerMessage
|
|||||||
return [
|
return [
|
||||||
'message_id' => $this->generateMessageId($data),
|
'message_id' => $this->generateMessageId($data),
|
||||||
'timestamp' => date('c'), // ISO 8601 格式
|
'timestamp' => date('c'), // ISO 8601 格式
|
||||||
'platform' => 'tmall',
|
'platform' => 'platform_unkonw',
|
||||||
'data_type' => 'order',
|
'data_type' => 'order',
|
||||||
'meta' => [
|
'meta' => [
|
||||||
'platform_id' => $data['platform_id'] ?? null,
|
'platform_id' => $data['platform_id'] ?? null,
|
||||||
'company_id' => $data['company_id'] ?? null,
|
'company_id' => $data['company_id'] ?? null,
|
||||||
'store_id' => $data['store_id'] ?? null,
|
'store_id' => $data['store_id'] ?? null,
|
||||||
|
'platform_store_id' => $data['platform_store_id'] ?? null,
|
||||||
'unique_id' => $data['unique_id'] ?? null,
|
'unique_id' => $data['unique_id'] ?? null,
|
||||||
'source_system' => 'tmall-open-api',
|
'source_system' => 'origin_unknow',
|
||||||
'retry_count' => 0,
|
'retry_count' => 0,
|
||||||
'data_version' => $data['data_version'] ?? time(),
|
'data_version' => $data['data_version'] ?? time(),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user