Commit ac3737fafb89ab21f18fb1a206e80d93400c5f72
1 parent
53d3f77b
Exists in
master
提交
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/datadef.go
... | ... | @@ -136,6 +136,8 @@ func (v WithDrawDescs) Less(i, j int) bool { |
136 | 136 | } |
137 | 137 | |
138 | 138 | type WithDrawInfo struct { |
139 | + Logindaysum int `json:"logindaysum"` | |
140 | + Logindaycontinue int `json:"logindaycontinue"` | |
139 | 141 | Cashdata WithDrawDescs `json:"cashdata"` |
140 | 142 | SpecialCashdata WithDrawDescs `json:"specialcashdata"` |
141 | 143 | } | ... | ... |
src/HttpServer/logic/logic.go
... | ... | @@ -36,6 +36,8 @@ func HandlerQuerdrawinfo(w http.ResponseWriter, data string, uuid int) { |
36 | 36 | } |
37 | 37 | |
38 | 38 | //返回 |
39 | + resp.Data.Logindaysum = uinfo.SumLoginDay | |
40 | + resp.Data.Logindaycontinue = uinfo.ContinueLoginDay | |
39 | 41 | resp.Data.Cashdata = append(resp.Data.Cashdata, uinfo.WithDraw.Cashdata...) |
40 | 42 | resp.Data.SpecialCashdata = append(resp.Data.SpecialCashdata, uinfo.WithDraw.SpecialCashdata...) |
41 | 43 | ... | ... |