Commit 7e41792b4d4f9dd34a867311aa31777451180de4

Authored by 陆恒
1 parent d7abe2b2
Exists in master

提交

src/HttpServer/logic/constdef.go
@@ -59,4 +59,5 @@ const ( @@ -59,4 +59,5 @@ const (
59 DRAWTICKETGETLIMIT = 5 //每日抽奖券获得次数 59 DRAWTICKETGETLIMIT = 5 //每日抽奖券获得次数
60 DRAWTICKETNUMLIMIT = 10 //抽奖券上限 60 DRAWTICKETNUMLIMIT = 10 //抽奖券上限
61 WAREHOUSELIMIT = 15 //仓库容量上限 61 WAREHOUSELIMIT = 15 //仓库容量上限
  62 +
62 ) 63 )
src/HttpServer/logic/function.go
@@ -406,9 +406,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { @@ -406,9 +406,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) {
406 d1.Position = i 406 d1.Position = i
407 407
408 d1.Cat = 0 408 d1.Cat = 0
409 - d1.Cat = 18  
410 - if i == 0 {  
411 - d1.Cat = 42 409 + //d1.Cat = 18
  410 + if i < 4 {
  411 + d1.Cat = 1
412 } 412 }
413 udata.PosInfo = append(udata.PosInfo, d1) 413 udata.PosInfo = append(udata.PosInfo, d1)
414 var d2 DataDesc 414 var d2 DataDesc