Explorar el Código

$fillable 增加 'mean','note'

visuddhinanda hace 3 años
padre
commit
c9455b4e07
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Models/UserDict.php

+ 1 - 1
app/Models/UserDict.php

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