微拆分 auth操作

This commit is contained in:
兔姬桑
2020-12-30 09:54:29 +08:00
parent 51520ec2d5
commit 330158f2fb
6 changed files with 265 additions and 235 deletions

View File

@@ -10,6 +10,7 @@ use Illuminate\Database\Eloquent\Model;
class VerifyCode extends Model
{
protected $table = 'verify_code';
protected $guarded = [];
public function scopeRecentUnused($query)
{