增加业务强制绑定提醒

This commit is contained in:
mzl
2025-10-13 13:25:19 +08:00
parent 1b14d5450d
commit 04d7d73c45
6 changed files with 136 additions and 12 deletions
+6
View File
@@ -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');
}
}