From d5d5e92f3cf0de0df9621e8512db096847d6b45c Mon Sep 17 00:00:00 2001 From: Chenx221 Date: Wed, 17 Apr 2024 16:14:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=BA=E5=A4=B1=E7=9A=84?= =?UTF-8?q?=E4=B8=80=E5=A4=84=E5=B1=9E=E6=80=A7=EF=BC=8C=E8=A7=A3=E5=86=B3?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=8E=A5=E5=8F=97=E5=B7=A5=E5=8D=95=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models/Tickets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/Tickets.php b/models/Tickets.php index df88786..2e43dee 100644 --- a/models/Tickets.php +++ b/models/Tickets.php @@ -42,7 +42,7 @@ class Tickets extends ActiveRecord public function rules(): array { return [ - [['user_id', 'title', 'description', 'status','ip'], 'required'], + [['user_id', 'title', 'status','ip'], 'required'], [['user_id', 'status'], 'integer'], [['description'], 'string'], [['created_at', 'updated_at'], 'safe'],