From e73f8a220bd35ad7922bc8336815c6a033aab05b Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 14 Oct 2022 15:34:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mq?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- supply/channel/mq.go | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/supply/channel/mq.go b/supply/channel/mq.go index 22b44c2..681361d 100644 --- a/supply/channel/mq.go +++ b/supply/channel/mq.go @@ -7,14 +7,20 @@ import ( ) const ( - MqSubscribeNameSkuPriceChange = "sku_price_change" // sku价格变动 - MqSubscribeNameSkuChange = "sku_change" // sku信息变动 + MqSubscribeNameSkuPriceChange = "sku_price_change" // sku价格变动 + MqSubscribeNameSkuChange = "sku_change" // sku信息变动 + MqSubscribeNameOrderSplit = "order_split" // 订单拆单 + MqSubscribeNameOrderLadingBill = "order_lading_bill" // 提单 + MqSubscribeNameOrderStockOut = "order_stock_out" // 订单出库 + MqSubscribeNameOrderFinish = "order_finish" // 订单完成 + MqSubscribeNameOrderCancel = "order_cancel" // 订单取消 ) type mq struct { } type ArgsMqSubscribe struct { - Name string // 队列名称 + Name string // 队列名称 + AppKey string // 队列名称 } // Subscribe @Title 订阅mq