invite signup check code's owner

This commit is contained in:
xiaomlove
2021-05-04 14:21:18 +08:00
parent 8bcf4a7d4c
commit 9be4043031
9 changed files with 54 additions and 8 deletions

12
app/Models/Invite.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
namespace App\Models;
class Invite extends NexusModel
{
protected $table = 'invites';
protected $fillable = [
'inviter', 'invitee', 'hash', 'time_invited',
];
}

View File

@@ -14,7 +14,6 @@ class NexusModel extends Model
// protected $perPage = 2;
/**
* 为数组 / JSON 序列化准备日期。
*
* @param \DateTimeInterface $date
* @return string