跨集合查询应该用aggregate框架,之前我一直不会用。。 参考https://www.mongodb.com/blog/post/quick-start-golang--mongodb--data-aggregation-pipeline 同时要加商合理的index,之前因为数据量少一直没怎么加 然后mongodb的返回值其实可以直接用bson.M(就是map[string]interface{})接收,方便很多,以后model也不用写json tag了