增加业务强制绑定提醒
This commit is contained in:
@@ -98,4 +98,10 @@ class User extends Model
|
||||
->orWhere('phone', $account)
|
||||
->orWhere('email', $account);
|
||||
}
|
||||
|
||||
|
||||
public function reportToInfo()
|
||||
{
|
||||
return $this->hasOne(User::class, 'id', 'report_to');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user