Browse Source

添加 fillable

visuddhinanda 3 years ago
parent
commit
93b61e096b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Models/UserDict.php

+ 1 - 0
app/Models/UserDict.php

@@ -11,4 +11,5 @@ class UserDict extends Model
 	protected $casts = [
 		'id' => 'string'
 	];
+	protected $fillable = ['id','word','type','grammar','parent','factors','source','create_time'];
 }