diff --git a/consume/zhios_order_total_second.go b/consume/zhios_order_total_second.go index 4b86efd..ed72685 100644 --- a/consume/zhios_order_total_second.go +++ b/consume/zhios_order_total_second.go @@ -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") } } }