上传资源货币补充
This commit is contained in:
parent
6454d2702d
commit
da5d24dcb0
@ -216,9 +216,12 @@ func (this *User) QueryAttributeValue(uid string, attr string) (value int64) {
|
||||
switch attr {
|
||||
case comm.ResGold:
|
||||
return user.Gold
|
||||
|
||||
case comm.ResExp:
|
||||
return user.Exp
|
||||
case comm.VipExp:
|
||||
return user.Exp
|
||||
case comm.StarCoin:
|
||||
return user.Starcoin
|
||||
case comm.ResDiamond:
|
||||
return user.Diamond
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user