|
@@ -795,7 +795,7 @@ func getEntPushSet(mgo *MongodbSim, msl *Mysql, entUserId int, phone string) *ma
|
|
|
}
|
|
|
entniche_user, ok := mgo.FindOneByField(Mgo_Ent_User, map[string]interface{}{
|
|
|
"i_userid": entUserId,
|
|
|
- }, `{"_id":0,"i_member_status":1,"l_member_endtime":1,"l_vip_endtime":1,"i_vip_status":1}`)
|
|
|
+ }, `{"_id":0,"i_member_status":1,"i_vip_status":1}`)
|
|
|
if ok && entniche_user != nil && len(*entniche_user) > 0 {
|
|
|
for k, v := range *entniche_user {
|
|
|
user[k] = v
|
|
@@ -808,11 +808,12 @@ func getEntPushSet(mgo *MongodbSim, msl *Mysql, entUserId int, phone string) *ma
|
|
|
for _, v := range *entniche_rule {
|
|
|
i_type := util.IntAll(v["i_type"])
|
|
|
if i_type == 0 {
|
|
|
- user["o_jy"] = v["o_entniche"]
|
|
|
+ user["o_entniche"] = v["o_entniche"]
|
|
|
} else if i_type == 1 {
|
|
|
user["o_vipjy"] = v["o_entniche"]
|
|
|
- } else if i_type == 2 {
|
|
|
user["o_member_jy"] = v["o_entniche"]
|
|
|
+ } else if i_type == 2 {
|
|
|
+ user["o_jy"] = v["o_entniche"]
|
|
|
}
|
|
|
}
|
|
|
}
|