Bläddra i källkod

添加 fillable

visuddhinanda 3 år sedan
förälder
incheckning
93b61e096b
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      app/Models/UserDict.php

+ 1 - 0
app/Models/UserDict.php

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