1
0
Fork 0

更新 app/Models/Keyword.php

panliang 2023-12-01 09:43:34 +08:00
parent c7008bf4d6
commit 0610bd20df
1 changed files with 2 additions and 1 deletions

View File

@ -15,10 +15,11 @@ class Keyword extends Model
{ {
use Filterable, HasDateTimeFormatter, TreePath; use Filterable, HasDateTimeFormatter, TreePath;
protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'path', 'sort', 'level', 'options', 'image', 'description', 'content']; protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'path', 'sort', 'level', 'options', 'image', 'images', 'description', 'content'];
protected $casts = [ protected $casts = [
'options' => 'array', 'options' => 'array',
'images' => 'array',
'image' => StorageFile::class, 'image' => StorageFile::class,
]; ];