后台优化
This commit is contained in:
parent
da8eefca45
commit
667f81f99d
@ -197,7 +197,7 @@ func (ad *GameLogic) NewAccountInsertDataToDB() bool {
|
||||
playerInfo.PackUnlockCount = 5
|
||||
playerInfo.EnergyBuyCount = 0
|
||||
playerInfo.UserName = ad.Db_AccountInfo.UserName
|
||||
playerInfo.LoginTime = 0
|
||||
playerInfo.LoginTime = (int32)(time.Now().Unix())
|
||||
playerInfo.LogoutTime = 0
|
||||
playerInfo.Todayolinetime = 0
|
||||
playerInfo.Rolecreatetime = (int32)(time.Now().Unix())
|
||||
|
||||
@ -120,7 +120,7 @@ func AdminPlayerInfo(args []interface{}) error {
|
||||
res["Energy"] = player.GetPlayerBaseMod().GetEnergy()
|
||||
res["Diamond"] = player.GetPlayerBaseMod().GetDiamond()
|
||||
res["Mac"] = player.GetPlayerBaseMod().GetName()
|
||||
res["Login"] = player.GetPlayerBaseMod().Data.LoginTime
|
||||
res["Login"] = player.PlayMod.getBaseMod().LoginTime
|
||||
res["Cumulative"] = player.PlayMod.getBaseMod().Cumulative
|
||||
res["TodayCumulative"] = player.PlayMod.getBaseMod().TodayCumulative
|
||||
if online {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user