浏览代码

update

master
shenjiachi 1周前
父节点
当前提交
bf3aeb0f03
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      app/hdl/hdl_add_friend.go

+ 2
- 2
app/hdl/hdl_add_friend.go 查看文件

@@ -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


正在加载...
取消
保存