|
@@ -122,7 +122,7 @@ func NowUserPosition(engine *xorm.Engine, uid int, dbName string) (level, levelR |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if userPublicPlatoonRelation != nil { |
|
|
|
|
|
|
|
|
if userPublicPlatoonRelation == nil { |
|
|
err = errors.New("未查询到当前用户公网记录") |
|
|
err = errors.New("未查询到当前用户公网记录") |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|