From 6ad4d0cdf22949cd7bcc7d9133bacab2958d71bc Mon Sep 17 00:00:00 2001 From: guzeng Date: Wed, 29 Sep 2021 10:55:17 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0v2=E8=AE=A2=E5=8D=95=E9=98=9F?= =?UTF-8?q?=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- const_v2.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 const_v2.go diff --git a/const_v2.go b/const_v2.go new file mode 100644 index 0000000..86f5c9a --- /dev/null +++ b/const_v2.go @@ -0,0 +1,18 @@ +package rabbitmqrpc + +//v2 + +//订单路由 +const ORDER_EXCHANGE_V2 string = "ex_order_v2" + +//已创建订单route key +const ORDER_CREATED_KEY_V2 string = "created_v2" + +//订单已创建队列,订单服务用 +const ORDER_CREATED_QUEUE_V2 = "order_created_queue_v2" + +//已支付订单route key +const ORDER_PAYED_KEY_V2 string = "payed_v2" + +//订单已支付队列,订单服务用 +const ORDER_PAYED_QUEUE_V2 = "order_payed_queue_v2"