Browse Source

update

master
DengBiao 1 year ago
parent
commit
47b3df0e5f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/public_platoon_relate_commission.go

+ 1
- 1
rule/public_platoon_relate_commission.go View File

@@ -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
}


Loading…
Cancel
Save