|
@@ -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
|