Просмотр исходного кода

$fillable 增加 'mean','note'

visuddhinanda 3 лет назад
Родитель
Сommit
c9455b4e07
1 измененных файлов с 1 добавлено и 1 удалено
  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'];
 }