From 391766e72f6a49e7cc572c0880834c62b0c4ceeb Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 20 Feb 2024 11:29:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/public_platoon_double_network_relate_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }