From 6898fb9179335c712284b587ee3d91c0bcd4cf9d Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Wed, 24 Jul 2024 09:34:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consume/zhios_order_total_second.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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") } } }