一条用户信息 属于 一个用户,所以:profile belongsTo user 综上: 在User模型中,我们可以定义关联: function user_group(){ return $this->belongsTo('