Parcourir la source

添加 fillable

visuddhinanda il y a 4 ans
Parent
commit
93b61e096b
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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'];
 }