修复缺失的一处属性,解决无法接受工单内容的bug

This commit is contained in:
Chenx221 2024-04-17 16:14:23 +08:00
parent 1905267984
commit d5d5e92f3c
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -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'],