belongsTo('Admin','uid','id'); } //角色分配表关联管理员 public function authGroup() { return $this->belongsTo('AuthGroup','group_id','id'); } }