diff --git a/rule/public_platoon_double_network_relate_commission.go b/rule/public_platoon_double_network_relate_commission.go index c7b9313..af81d17 100644 --- a/rule/public_platoon_double_network_relate_commission.go +++ b/rule/public_platoon_double_network_relate_commission.go @@ -122,7 +122,7 @@ func NowUserPosition(engine *xorm.Engine, uid int, dbName string) (level, levelR if err != nil { return } - if userPublicPlatoonRelation != nil { + if userPublicPlatoonRelation == nil { err = errors.New("未查询到当前用户公网记录") return }