DengBiao 1 年之前
父節點
當前提交
b805f9c477
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      rule/public_platoon_relate_commission.go

+ 1
- 1
rule/public_platoon_relate_commission.go 查看文件

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


Loading…
取消
儲存