wangchuanjin il y a 2 ans
Parent
commit
2fe9b020ed
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      p/public.go

+ 1 - 1
p/public.go

@@ -818,7 +818,7 @@ func getEntPushSet(mgo *MongodbSim, msl *Mysql, entUserId int, phone string) *ma
 	}
 	entniche_rule, ok := mgo.Find("entniche_rule", map[string]interface{}{
 		"i_userid": entUserId,
-	}, nil, `{"_id":0,"o_entniche":1}`, false, -1, -1)
+	}, nil, `{"_id":0,"o_entniche":1,"i_type":1}`, false, -1, -1)
 	if ok && entniche_rule != nil {
 		for _, v := range *entniche_rule {
 			i_type := util.IntAll(v["i_type"])