Ver código fonte

update

master
dengbiao 2 dias atrás
pai
commit
ea2192cd13
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      rule/egg_energy/give_activty_coin.go

+ 2
- 2
rule/egg_energy/give_activty_coin.go Ver arquivo

@@ -250,7 +250,7 @@ func ActivityCoinToAlipayRealName(engine *xorm.Engine, uid int64, amount string)

//2、判断个人蛋蛋积分是否足够
var personUserVirtualAmount model.UserVirtualAmount
_, err = engine.Where("coin_id = ?", eggEnergyBasicSetting.PersonEggPointsCoinId).Get(&personUserVirtualAmount)
_, err = engine.Where("coin_id = ?", eggEnergyBasicSetting.PersonEggPointsCoinId).And("uid =?", uid).Get(&personUserVirtualAmount)
if err != nil {
fmt.Println("err:::::1111", err)
return
@@ -323,7 +323,7 @@ func CheckActivityCoinToAlipayRealName(engine *xorm.Engine, uid int64, amount st

//2、判断个人蛋蛋积分是否足够
var personUserVirtualAmount model.UserVirtualAmount
_, err = engine.Where("coin_id = ?", eggEnergyBasicSetting.PersonEggPointsCoinId).Get(&personUserVirtualAmount)
_, err = engine.Where("coin_id = ?", eggEnergyBasicSetting.PersonEggPointsCoinId).And("uid =?", uid).Get(&personUserVirtualAmount)
if err != nil {
fmt.Println("err:::::1111", err)
return


Carregando…
Cancelar
Salvar