Преглед изворни кода

wip:修复分发规则列表

wangkaiyue пре 2 година
родитељ
комит
abd249ba1e
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      jyBXSubscribe/rpc/model/distributor.go

+ 1 - 0
jyBXSubscribe/rpc/model/distributor.go

@@ -91,6 +91,7 @@ func Distributor(region []string, entId, entUserId int) []*User {
 				data, _ := IC.Mgo.Find("entniche_rule", map[string]interface{}{
 					"i_userid": v.Id,
 					"i_entid":  entId,
+					"i_type":   1,
 				}, "", nil, false, -1, 1)
 				for _, value := range *data {
 					o_entniche := common.ObjToMap(value["o_entniche"])