|
|
@@ -160,6 +160,7 @@ $rabbitMQ = [
|
|
|
'stockQueue' => '\common\components\rabbitmq\stockConsumer',
|
|
|
//'limitBuyQueue' => '\common\components\rabbitmq\cancelLimitBuyConsumer',
|
|
|
'limitBuyQueue' => '\common\components\rabbitmq\stockConsumer',
|
|
|
+ 'birthdayGiftQueue' => '\common\components\rabbitmq\stockConsumer', //生日礼物队列
|
|
|
]
|
|
|
],
|
|
|
[
|
|
|
@@ -176,12 +177,12 @@ $rabbitMQ = [
|
|
|
'ptQueue' => '\common\components\rabbitmq\ptConsumer',
|
|
|
]
|
|
|
],
|
|
|
- [
|
|
|
- 'name' => 'birthdayGiftConsumer',
|
|
|
- 'callbacks' => [
|
|
|
- 'birthdayGiftQueue' => '\common\components\rabbitmq\birthdayGiftConsumer',
|
|
|
- ]
|
|
|
- ]
|
|
|
+ // [ // 生日礼物队列不独创自己的消费者
|
|
|
+ // 'name' => 'birthdayGiftConsumer',
|
|
|
+ // 'callbacks' => [
|
|
|
+ // 'birthdayGiftQueue' => '\common\components\rabbitmq\birthdayGiftConsumer',
|
|
|
+ // ]
|
|
|
+ // ]
|
|
|
],
|
|
|
];
|
|
|
return $rabbitMQ;
|