From 9fc6d031a7540022a5f1f4fda050b93a53baf251 Mon Sep 17 00:00:00 2001 From: wanghongjun <1445693971@qq.com> Date: Fri, 15 May 2026 16:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AD=A6=E6=8A=A5=20?= =?UTF-8?q?=E4=BF=A1=E6=81=AF2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/AdminNotice.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/Models/AdminNotice.php b/app/Models/AdminNotice.php index ee870de..b00d032 100644 --- a/app/Models/AdminNotice.php +++ b/app/Models/AdminNotice.php @@ -12,6 +12,20 @@ class AdminNotice extends Model protected $table = 'admin_notice'; + protected $fillable = [ + 'alarm_time', + 'alarm_type', + 'camera_ip', + 'msg_type', + 'msg_content', + 'space_id', + 'floor_id', + 'camera_id', + 'is_read', + 'user_id', + 'pattern_id' + ]; + /** * The attributes that should be hidden for serialization. * @var array