From 0610bd20df7fd1a9177cf6fc7f0e1b6f9fd1d62a Mon Sep 17 00:00:00 2001 From: panliang <1163816051@qq.com> Date: Fri, 1 Dec 2023 09:43:34 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20app/Models/Keyword.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Keyword.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Models/Keyword.php b/app/Models/Keyword.php index f0b7242..011739c 100644 --- a/app/Models/Keyword.php +++ b/app/Models/Keyword.php @@ -15,10 +15,11 @@ class Keyword extends Model { 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 = [ 'options' => 'array', + 'images' => 'array', 'image' => StorageFile::class, ];