Bladeren bron

更新

master
huangjiajun 4 maanden geleden
bovenliggende
commit
6898fb9179
1 gewijzigde bestanden met toevoegingen van 6 en 6 verwijderingen
  1. +6
    -6
      consume/zhios_order_total_second.go

+ 6
- 6
consume/zhios_order_total_second.go Bestand weergeven

@@ -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")
}
}
}


Laden…
Annuleren
Opslaan