Commit 3e0a8ae93096c6b66447bdf5503b4d75ab04cfce
1 parent
56478edf
Exists in
ver2.3.0
and in
2 other branches
提交
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/datadef.go
| @@ -42,6 +42,7 @@ type GetuserdataData struct { | @@ -42,6 +42,7 @@ type GetuserdataData struct { | ||
| 42 | Userlv int `json:"userlv"` | 42 | Userlv int `json:"userlv"` |
| 43 | Userexp int `json:"userexp"` | 43 | Userexp int `json:"userexp"` |
| 44 | Leftfreeredbag int `json:"leftfreeredbag"` | 44 | Leftfreeredbag int `json:"leftfreeredbag"` |
| 45 | + Sumloginday int `json:"sumloginday"` | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| 47 | type GetuserdataResp struct { | 48 | type GetuserdataResp struct { |
src/HttpServer/logic/logic.go
| @@ -1052,6 +1052,7 @@ func HandlerGetuserdata(w http.ResponseWriter, data string, uuid int) { | @@ -1052,6 +1052,7 @@ func HandlerGetuserdata(w http.ResponseWriter, data string, uuid int) { | ||
| 1052 | resp.Data.Userexp = data.Exp | 1052 | resp.Data.Userexp = data.Exp |
| 1053 | resp.Data.Userlv = data.Lv | 1053 | resp.Data.Userlv = data.Lv |
| 1054 | resp.Data.Leftfreeredbag = data.LeftFreeRB | 1054 | resp.Data.Leftfreeredbag = data.LeftFreeRB |
| 1055 | + resp.Data.Sumloginday = data.SumLoginDay | ||
| 1055 | SaveUserInfo(data, uniqueuuid) | 1056 | SaveUserInfo(data, uniqueuuid) |
| 1056 | 1057 | ||
| 1057 | resp.Code = ERROR_OK | 1058 | resp.Code = ERROR_OK |