Browse Source

更新

three
huangjiajun 1 year ago
parent
commit
5e4cf72240
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      consume/zhios_fast_return_order_pay.go

+ 4
- 0
consume/zhios_fast_return_order_pay.go View File

@@ -43,6 +43,10 @@ func ZhiosFastReturnOrderPay(queue md.MqQueue) {
fmt.Println(err)
if err == nil {
_ = res.Ack(true)
} else {
var msg *md.ZhiosFatReturnOrderPay
json.Unmarshal(res.Body, &msg)
ch.Publish(queue.ExchangeName, msg, queue.RoutKey)
}
} else {
panic(errors.New("error getting message"))


Loading…
Cancel
Save