|
|
@@ -485,6 +485,7 @@ func JudgeUserBelowLevel(engine *xorm.Engine, uid int) (level int, err error) { |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
// FindRandUser 随机查找指定数量用户 |
|
|
|
func FindRandUser(engine *xorm.Engine, nums int) (resp []int64, err error) { |
|
|
|
//1、查找最小、最大 位置的公排位置 |
|
|
|
var minM, maxM model.UserPublicPlatoonRelation |
|
|
|