Commit ace12c7902a714cb2677370cc8eed33a1d0cda0b

Authored by 陆恒
1 parent 064d037c
Exists in master

提交

src/HttpServer/logic/datadef.go
... ... @@ -129,6 +129,7 @@ type UserInfoData struct {
129 129 Auth int `json:"auth"`
130 130 FriendCount int `json:"friendCount"`
131 131 FriendFriendCount int `json:"friendFriendCount"`
  132 + TotalCashReward float32 `json:"totalCashReward"`
132 133 }
133 134  
134 135 type UserInfoResp struct {
... ...
src/HttpServer/logic/logic.go
... ... @@ -1147,6 +1147,8 @@ func HandlerUserInfo(w http.ResponseWriter, data string, uuid int) {
1147 1147 break
1148 1148 }
1149 1149 resp.Data.Cash = float32(gold) / 10000
  1150 +
  1151 + resp.Data.TotalCashReward = G_randVal
1150 1152 break
1151 1153 }
1152 1154  
... ...