diff --git a/src/HttpServer/logic/datadef.go b/src/HttpServer/logic/datadef.go index c45cb13..6075f10 100644 --- a/src/HttpServer/logic/datadef.go +++ b/src/HttpServer/logic/datadef.go @@ -203,3 +203,21 @@ type UserData struct { PlayerData string //玩家数据 RegTime int //注册时间 } + +//------------------------------------------------------- +type PlayerData struct { + Id int `json:"id"` + CarArr []int `json:"carArr"` + Gold int `json:"gold"` + LastLoginTimestamp float32 `json:"lastLoginTimestamp"` + AllGold int `json:"allGold"` + ShopBuyNums int `json:"shopBuyNums"` + SevenDayNoteData string `json:"sevenDayNoteData"` + CarMaxLevel int `json:"carMaxLevel"` + CurLevel int `json:"curLevel"` + LoginDate string `json:"loginDate"` + CreateCarID int `json:"createCarID"` + KillCount int `json:"killCount"` + HeadShot int `json:"headShot"` + OnLineGold int `json:"onLineGold"` +} -- libgit2 0.21.0