From 98447233d056852f4017798fe2a897b7c1590c2c Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Wed, 11 Jan 2023 00:33:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E8=BF=9B=20=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=E5=B9=BF=E6=92=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Modules/BroadcastController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Modules/BroadcastController.php b/app/Http/Controllers/Modules/BroadcastController.php index 90ca56e..4fac1eb 100644 --- a/app/Http/Controllers/Modules/BroadcastController.php +++ b/app/Http/Controllers/Modules/BroadcastController.php @@ -25,7 +25,7 @@ private function rules(): array return [ 'message' => 'required|string|max:255', 'type' => 'required|in:info,error,warning,success', - 'data' => 'nullable|json', + 'data' => 'nullable|array', ]; }