Commit 5716f418873ed762c7bbdf3f63691d4b2343d090
1 parent
a505c5c4
Exists in
ver2.3.0
and in
2 other branches
ti
Showing
4 changed files
with
4 additions
and
1 deletions
Show diff stats
src/HttpServer/jsonconf/WithdrawConfig.json
1 | -[{"id":1,"money":0.3,"coin":3000,"task":0,"level":2,"new":1},{"id":2,"money":0.5,"coin":5000,"task":1,"level":3,"new":1},{"id":3,"money":1.5,"coin":15000,"task":2,"level":4,"new":1},{"id":4,"money":5,"coin":50000,"task":3,"level":8,"new":1},{"id":5,"money":10,"coin":100000,"task":4,"level":16,"new":1},{"id":6,"money":20,"coin":200000,"task":5,"level":34,"new":1},{"id":7,"money":50,"coin":500000,"task":6,"level":68,"new":0},{"id":8,"money":100,"coin":1000000,"task":7,"level":136,"new":0}] | ||
2 | \ No newline at end of file | 1 | \ No newline at end of file |
2 | +[{"id":1,"money":0.5,"coin":5000,"task":0,"level":3,"new":0,"day":2},{"id":2,"money":1,"coin":10000,"task":1,"level":6,"new":0,"day":3},{"id":3,"money":1.5,"coin":15000,"task":2,"level":10,"new":0,"day":5},{"id":4,"money":2,"coin":20000,"task":3,"level":17,"new":0,"day":8},{"id":5,"money":3,"coin":30000,"task":4,"level":23,"new":0,"day":12},{"id":6,"money":10,"coin":100000,"task":5,"level":68,"new":0,"day":20},{"id":7,"money":20,"coin":200000,"task":6,"level":113,"new":0,"day":0},{"id":8,"money":50,"coin":500000,"task":7,"level":150,"new":0,"day":0},{"id":9,"money":100,"coin":10000000,"task":8,"level":150,"new":0,"day":0}] | ||
3 | \ No newline at end of file | 3 | \ No newline at end of file |
src/HttpServer/jsonconf/jsonconf.go
@@ -48,6 +48,7 @@ type WithDrawDesc struct { | @@ -48,6 +48,7 @@ type WithDrawDesc struct { | ||
48 | Task int `json:"task"` | 48 | Task int `json:"task"` |
49 | Level int `json:"level"` | 49 | Level int `json:"level"` |
50 | Isnew int `json:"new"` | 50 | Isnew int `json:"new"` |
51 | + Day int `json:"day"` | ||
51 | } | 52 | } |
52 | 53 | ||
53 | type SignRewardDetail struct { | 54 | type SignRewardDetail struct { |
src/HttpServer/logic/datadef.go
@@ -333,6 +333,7 @@ type WithDrawDesc struct { | @@ -333,6 +333,7 @@ type WithDrawDesc struct { | ||
333 | Isnew int `json:"isnew"` | 333 | Isnew int `json:"isnew"` |
334 | Limitlv int `json:"limitlv"` | 334 | Limitlv int `json:"limitlv"` |
335 | Preisfind int `json:"preisfind"` | 335 | Preisfind int `json:"preisfind"` |
336 | + Day int `json:"day"` | ||
336 | } | 337 | } |
337 | 338 | ||
338 | //玩家数据 | 339 | //玩家数据 |
src/HttpServer/logic/function.go
@@ -503,6 +503,7 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int, uniqueuid s | @@ -503,6 +503,7 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int, uniqueuid s | ||
503 | } else { | 503 | } else { |
504 | tmp.Preisfind = 0 | 504 | tmp.Preisfind = 0 |
505 | } | 505 | } |
506 | + tmp.Day = val.Day | ||
506 | initdata.WithDraw.Cashdata = append(initdata.WithDraw.Cashdata, tmp) | 507 | initdata.WithDraw.Cashdata = append(initdata.WithDraw.Cashdata, tmp) |
507 | } | 508 | } |
508 | 509 |