Browse Source

增加消费路由和队列名

master v0.5.0
guzeng 1 year ago
parent
commit
66b0484fe1
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      variable.go

+ 9
- 0
variable.go View File

@ -152,3 +152,12 @@ const SEND_API_MSG_KEY = "api_send_msg"
//发送接口请求队列,定时服务用 //发送接口请求队列,定时服务用
const SEND_MSG_QUEUE = "send_msg_queue" const SEND_MSG_QUEUE = "send_msg_queue"
//订单路由
const PAYMENT_EXCHANGE string = "ex_payment"
//消费成功KEY
const PAYMENT_KEY = "payment_success"
//消费成功队列
const PAYMENT_QUEUE = "payment_success_queue"

Loading…
Cancel
Save