Browse Source

更新

three
huangjiajun 1 year ago
parent
commit
ebfe28cf74
2 changed files with 3 additions and 0 deletions
  1. +2
    -0
      consume/zhios_acquisition_condition.go
  2. +1
    -0
      consume/zhios_fast_return_order_pay.go

+ 2
- 0
consume/zhios_acquisition_condition.go View File

@@ -42,6 +42,8 @@ func ZhiosAcquisitionCondition(queue md.MqQueue) {
if err == nil { if err == nil {
_ = res.Ack(true) _ = res.Ack(true)
} else { } else {
_ = res.Reject(false)

var canalMsg *md.ZhiosAcquisition var canalMsg *md.ZhiosAcquisition
var tmpString string var tmpString string
err := json.Unmarshal(res.Body, &tmpString) err := json.Unmarshal(res.Body, &tmpString)


+ 1
- 0
consume/zhios_fast_return_order_pay.go View File

@@ -44,6 +44,7 @@ func ZhiosFastReturnOrderPay(queue md.MqQueue) {
if err == nil { if err == nil {
_ = res.Ack(true) _ = res.Ack(true)
} else { } else {
_ = res.Reject(false)
var canalMsg *md.ZhiosFatReturnOrderPay var canalMsg *md.ZhiosFatReturnOrderPay
var tmpString string var tmpString string
err := json.Unmarshal(res.Body, &tmpString) err := json.Unmarshal(res.Body, &tmpString)


Loading…
Cancel
Save