wangchuanjin 2 năm trước cách đây
mục cha
commit
d4e0caadd5
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      p/public.go

+ 2 - 2
p/public.go

@@ -791,7 +791,7 @@ func getEntPushSet(mgo *MongodbSim, msl *Mysql, entUserId int, phone string) *ma
 				"s_m_phone": phone,
 			},
 		},
-	}, map[string]interface{}{
+	}, `{"s_phone":-1}`, map[string]interface{}{
 		"_id":           0,
 		"s_m_openid":    1,
 		"i_ispush":      1,
@@ -799,7 +799,7 @@ func getEntPushSet(mgo *MongodbSim, msl *Mysql, entUserId int, phone string) *ma
 		"s_opushid":     1,
 		"s_appponetype": 1,
 		"i_applystatus": 1,
-	}, `{"s_phone":-1}`, false, -1, -1)
+	}, false, -1, -1)
 	if !ok || users == nil || len(*users) == 0 {
 		logger.Info("user表中没有找到该企业用户", entUserId, phone)
 		return nil