Commit aef7a2369e3828f5d7a80fb6b393420500d428d0
1 parent
6ed65994
Exists in
master
提交
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/datadef.go
| @@ -43,6 +43,7 @@ type GetuserdataData struct { | @@ -43,6 +43,7 @@ type GetuserdataData struct { | ||
| 43 | Userlv int `json:"userlv"` | 43 | Userlv int `json:"userlv"` |
| 44 | Userexp int `json:"userexp"` | 44 | Userexp int `json:"userexp"` |
| 45 | Leftfreeredbag int `json:"leftfreeredbag"` | 45 | Leftfreeredbag int `json:"leftfreeredbag"` |
| 46 | + Shakeleftcnt int `json:"shakeleftcnt"` | ||
| 46 | } | 47 | } |
| 47 | 48 | ||
| 48 | type GetuserdataResp struct { | 49 | 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.Shakeleftcnt = data.ShakeTime | ||
| 1055 | SaveUserInfo(data, uniqueuuid) | 1056 | SaveUserInfo(data, uniqueuuid) |
| 1056 | 1057 | ||
| 1057 | resp.Code = ERROR_OK | 1058 | resp.Code = ERROR_OK |