From 47b3df0e5f9bd5c974ed95376c23b5c149f8d1b8 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Mon, 25 Sep 2023 17:27:27 +0800 Subject: [PATCH] update --- rule/public_platoon_relate_commission.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rule/public_platoon_relate_commission.go b/rule/public_platoon_relate_commission.go index 092f3fe..65c59db 100644 --- a/rule/public_platoon_relate_commission.go +++ b/rule/public_platoon_relate_commission.go @@ -489,7 +489,7 @@ func JudgeUserBelowLevel(engine *xorm.Engine, uid int) (level int, err error) { func FindRandUser(engine *xorm.Engine, nums int) (resp []int64, err error) { //1、查找最小、最大 位置的公排位置 var minM, maxM model.UserPublicPlatoonRelation - has, err := engine.Desc("id").Get(&minM) + has, err := engine.Asc("id").Get(&minM) if err != nil { return }