shenjiachi pirms 1 nedēļas
vecāks
revīzija
bf3aeb0f03
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      app/hdl/hdl_add_friend.go

+ 2
- 2
app/hdl/hdl_add_friend.go Parādīt failu

@@ -292,12 +292,12 @@ func EggPointDetails(c *gin.Context) {
}
virtualAmountDb := implement.NewUserVirtualAmountDb(db.Db)
var totalEggPoints float64
personEggPoints, err := virtualAmountDb.GetUserVirtualWalletBySession(user.Id, eggEnergyBasicSetting.PersonEggEnergyCoinId)
personEggPoints, err := virtualAmountDb.GetUserVirtualWalletBySession(user.Id, eggEnergyBasicSetting.PersonEggPointsCoinId)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return
}
teamEggPoints, err := virtualAmountDb.GetUserVirtualWalletBySession(user.Id, eggEnergyBasicSetting.TeamEggEnergyCoinId)
teamEggPoints, err := virtualAmountDb.GetUserVirtualWalletBySession(user.Id, eggEnergyBasicSetting.TeamEggPointsCoinId)
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
return


Notiek ielāde…
Atcelt
Saglabāt