瀏覽代碼

增加查询字段

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