更改监听
This commit is contained in:
parent
ceca3c49ea
commit
a9d1adc71e
@ -29,9 +29,8 @@ class Reply extends Model
|
|||||||
'ip',
|
'ip',
|
||||||
];
|
];
|
||||||
|
|
||||||
protected static function boot()
|
protected static function booted()
|
||||||
{
|
{
|
||||||
parent::boot();
|
|
||||||
static::creating(function (self $model) {
|
static::creating(function (self $model) {
|
||||||
$model->is_pending = false;
|
$model->is_pending = false;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user