例如用户有很多文章,某个国家有很多用户,那么某个国家有很多文章。
在国家模型中
public function posts(){ return $this->hasManyThrough(最终模型,中间模型,国家id,用户id); }