更新 app/Models/Keyword.php
parent
a8d6c45b65
commit
86202581ec
|
|
@ -14,10 +14,10 @@ class Keyword extends Model
|
||||||
{
|
{
|
||||||
use Filterable, HasDateTimeFormatter;
|
use Filterable, HasDateTimeFormatter;
|
||||||
|
|
||||||
protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'type_key', 'path', 'sort', 'level', 'data', 'image', 'description', 'content'];
|
protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'type_key', 'path', 'sort', 'level', 'options', 'image', 'description', 'content'];
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'data' => 'array',
|
'options' => 'array',
|
||||||
'image' => StorageFile::class,
|
'image' => StorageFile::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue