temporary invite

This commit is contained in:
xiaomlove
2022-12-13 13:51:39 +08:00
parent 6fa604ce56
commit f413c61901
42 changed files with 727 additions and 47 deletions

View File

@@ -9,6 +9,10 @@ class Invite extends NexusModel
const VALID_YES = 1;
const VALID_NO = 0;
protected $casts = [
'expired_at' => 'datetime',
];
public static $validInfo = [
self::VALID_NO => ['text' => 'No'],
self::VALID_YES => ['text' => 'Yes'],