diff --git a/src/HttpServer/logic/datadef.go b/src/HttpServer/logic/datadef.go index 150e1f6..5e41803 100644 --- a/src/HttpServer/logic/datadef.go +++ b/src/HttpServer/logic/datadef.go @@ -136,6 +136,8 @@ func (v WithDrawDescs) Less(i, j int) bool { } type WithDrawInfo struct { + Logindaysum int `json:"logindaysum"` + Logindaycontinue int `json:"logindaycontinue"` Cashdata WithDrawDescs `json:"cashdata"` SpecialCashdata WithDrawDescs `json:"specialcashdata"` } diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 3a8af7b..3642fa7 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -36,6 +36,8 @@ func HandlerQuerdrawinfo(w http.ResponseWriter, data string, uuid int) { } //返回 + resp.Data.Logindaysum = uinfo.SumLoginDay + resp.Data.Logindaycontinue = uinfo.ContinueLoginDay resp.Data.Cashdata = append(resp.Data.Cashdata, uinfo.WithDraw.Cashdata...) resp.Data.SpecialCashdata = append(resp.Data.SpecialCashdata, uinfo.WithDraw.SpecialCashdata...) -- libgit2 0.21.0