ソースを参照

增加查询字段

wangchuanjin 2 年 前
コミット
8a40c717c8
1 ファイル変更1 行追加1 行削除
  1. 1 1
      p/public.go

+ 1 - 1
p/public.go

@@ -810,7 +810,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,"i_vip_status":1}`)
+	}, `{"_id":0,"i_member_status":1,"i_vip_status":1,"o_follow_project":1,"o_follow_ent":1}`)
 	if ok && entniche_user != nil && len(*entniche_user) > 0 {
 		for k, v := range *entniche_user {
 			user[k] = v