瀏覽代碼

1

withdrawal
dengbiao 3 週之前
父節點
當前提交
b85e255c5f
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      consume/add_public_platoon_user_relation_commission.go

+ 3
- 3
consume/add_public_platoon_user_relation_commission.go 查看文件

@@ -45,9 +45,9 @@ func AddPublicPlatoonUserRelationCommissionConsume(queue md.MqQueue) {
utils.FilePutContents("AddPublicPlatoonUserRelationCommissionConsume_ERR", "[err]:"+err.Error())
_ = res.Reject(false)
//TODO::重新推回队列末尾,避免造成队列堵塞
var msg *md2.AddPublicPlatoonUserRelationCommissionReq
json.Unmarshal(res.Body, &msg)
ch.Publish(queue.ExchangeName, msg, queue.RoutKey)
//var msg *md2.AddPublicPlatoonUserRelationCommissionReq
//json.Unmarshal(res.Body, &msg)
//ch.Publish(queue.ExchangeName, msg, queue.RoutKey)
} else {
_ = res.Ack(true)
}


Loading…
取消
儲存