Commit 51e5d8e545137cf5dbd2b52d094989e81b4c4b94

Authored by 陆恒
1 parent 2efb3992
Exists in master

提交

src/HttpServer/logic/datadef.go
... ... @@ -723,6 +723,7 @@ type GetMainPageInfoData struct {
723 723 Guide bool `json:"guide"`
724 724 Redbagnum int `json:"redbagnum"`
725 725 Flyboxnum int `json:"flyboxnum"`
  726 + Leftredbagnum int `json:"leftredbagnum"`
726 727 }
727 728  
728 729 type GetMainPageInfoResp struct {
... ...
src/HttpServer/logic/logic.go
... ... @@ -1352,6 +1352,7 @@ func HandlerGetMainPageInfo(w http.ResponseWriter, data string, uuid int) {
1352 1352 }
1353 1353 resp.Data.Redbagnum = uinfo.StoreRandRedBag
1354 1354 resp.Data.Flyboxnum = uinfo.FlyBoxNumTimes
  1355 + resp.Data.Leftredbagnum = uinfo.RandRedBagLeftTime
1355 1356 resp.Code = 0
1356 1357 break
1357 1358 }
... ...