[admin] add setting backup

This commit is contained in:
xiaomlove
2021-05-14 20:41:43 +08:00
parent 6c85176e2f
commit 47f64f2c5c
23 changed files with 787 additions and 39 deletions
+10
View File
@@ -24,4 +24,14 @@ class Invite extends NexusModel
return self::$validInfo[$this->valid]['text'] ?? '';
}
public function inviter_user()
{
return $this->belongsTo(User::class, 'inviter');
}
public function invitee_user()
{
return $this->belongsTo(User::class, 'invitee_register_uid');
}
}