Commit fd9af38f1b6a42438ff179b15a20bf84b4d77d58
1 parent
8cb063a2
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/function.go
@@ -169,8 +169,8 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { | @@ -169,8 +169,8 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { | ||
169 | var d1 CatPosInfo | 169 | var d1 CatPosInfo |
170 | d1.Position = i | 170 | d1.Position = i |
171 | d1.Cat = 0 | 171 | d1.Cat = 0 |
172 | - if i == 0 || i == 1 { | ||
173 | - d1.Cat = 2 | 172 | + if i < 5 { |
173 | + d1.Cat = 36 | ||
174 | } | 174 | } |
175 | udata.PosInfo = append(udata.PosInfo, d1) | 175 | udata.PosInfo = append(udata.PosInfo, d1) |
176 | var d2 DataDesc | 176 | var d2 DataDesc |