Browse Source

更新

master
huangjiajun 5 months ago
parent
commit
b1c2513853
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      consume/zhios_order_total_second.go

+ 1
- 1
consume/zhios_order_total_second.go View File

@@ -38,6 +38,7 @@ func ZhiosOrderTotalSecond(queue md.MqQueue) {
err = handleZhiosOrderTotalSecond(res.Body)
//_ = res.Reject(false)
if err != nil {
fmt.Println("===================统计", err.Error())
_ = res.Reject(false)
//TODO::重新推回队列末尾,避免造成队列堵塞
var msg *md.ZhiosOrderBuckle
@@ -73,7 +74,6 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
fmt.Println("===with", err.Error())
return err
}
fmt.Println(tmpString)
err = json.Unmarshal([]byte(tmpString), &canalMsg)
if err != nil {
fmt.Println("===with", err.Error())


Loading…
Cancel
Save