DengBiao 1 anno fa
parent
commit
b805f9c477
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      rule/public_platoon_relate_commission.go

+ 1
- 1
rule/public_platoon_relate_commission.go Vedi File

@@ -479,7 +479,7 @@ func JudgeUserBelowLevel(engine *xorm.Engine, uid int) (level int, err error) {

level = son.Level - m.Level
var list []model.UserPublicPlatoonRelation
if err = engine.Where("father_uid", son.FatherUid).
if err = engine.Where("father_uid =?", son.FatherUid).
Find(&list); err != nil {
return
}


Caricamento…
Annulla
Salva