Commit 3297fba3affad8751f2e139ca0ce9298b1c71e26
1 parent
f33bc4f8
Exists in
master
提交
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
src/HttpServer/logic/function.go
| ... | ... | @@ -104,6 +104,9 @@ func InitUserInfo(data *UserLoginReq, resp *UserLoginResp, uuid int) { |
| 104 | 104 | var d1 CatPosInfo |
| 105 | 105 | d1.Position = i |
| 106 | 106 | d1.Cat = 0 |
| 107 | + if i == 0 { | |
| 108 | + d1.Cat = 2 | |
| 109 | + } | |
| 107 | 110 | udata.PosInfo = append(udata.PosInfo, d1) |
| 108 | 111 | var d2 DataDesc |
| 109 | 112 | d2.Pos = i | ... | ... |