diff --git a/src/HttpServer/logic/constdef.go b/src/HttpServer/logic/constdef.go index c42fd93..ff7f974 100644 --- a/src/HttpServer/logic/constdef.go +++ b/src/HttpServer/logic/constdef.go @@ -59,4 +59,5 @@ const ( DRAWTICKETGETLIMIT = 5 //每日抽奖券获得次数 DRAWTICKETNUMLIMIT = 10 //抽奖券上限 WAREHOUSELIMIT = 15 //仓库容量上限 + ) diff --git a/src/HttpServer/logic/function.go b/src/HttpServer/logic/function.go index 22d7982..09c769f 100644 --- a/src/HttpServer/logic/function.go +++ b/src/HttpServer/logic/function.go @@ -406,9 +406,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { d1.Position = i d1.Cat = 0 - d1.Cat = 18 - if i == 0 { - d1.Cat = 42 + //d1.Cat = 18 + if i < 4 { + d1.Cat = 1 } udata.PosInfo = append(udata.PosInfo, d1) var d2 DataDesc -- libgit2 0.21.0