Эх сурвалжийг харах

wip:修复分发规则列表

wangkaiyue 2 жил өмнө
parent
commit
abd249ba1e

+ 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"])