Browse Source

更新

master
huangjiajun 4 months ago
parent
commit
6898fb9179
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      consume/zhios_order_total_second.go

+ 6
- 6
consume/zhios_order_total_second.go View File

@@ -130,7 +130,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if has == 0 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败1")
}
}
isupdate := 0
@@ -151,7 +151,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if update == 0 && isupdate == 1 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败2")
}
if v.CreateAt > 1711086661 {
var userStatistics1 model.UserDayAmount
@@ -168,7 +168,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if has == 0 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败3")
}
}
isupdate1 := 0
@@ -187,7 +187,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if update1 == 0 && isupdate1 == 1 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败4")
}
}
var userStatistics1 model.UserWaitAmount
@@ -203,7 +203,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if has == 0 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败5")
}
}
isupdate1 := 0
@@ -222,7 +222,7 @@ func handleZhiosOrderTotalSecond(msg []byte) error {
}
if update1 == 0 && isupdate1 == 1 {
sess.Rollback()
return errors.New("失败")
return errors.New("失败6")
}
}
}


Loading…
Cancel
Save