修复缺失的一处属性,解决无法接受工单内容的bug
This commit is contained in:
parent
1905267984
commit
d5d5e92f3c
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user