xuzhiheng 5 anni fa
parent
commit
619afa6875
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/service/second_push.go

+ 2 - 0
src/service/second_push.go

@@ -234,6 +234,7 @@ func (s *SecondPush) SecondPushTask() {
 						log.Println("ruleid", mongoutil.BsonIdToSId(m.(map[string]interface{})["_id"]))
 						q := bson.M{
 							"ruleid": mongoutil.BsonIdToSId(m.(map[string]interface{})["_id"]),
+							"bget":   1,
 							"createtime": bson.M{
 								"$gte": starttime,
 								"$lte": endtime,
@@ -249,6 +250,7 @@ func (s *SecondPush) SecondPushTask() {
 				} else {
 					q := bson.M{
 						"appid": c["s_appid"],
+						"bget":  1,
 						"createtime": bson.M{
 							"$gte": starttime,
 							"$lte": endtime,