浏览代码

添加 fillable

visuddhinanda 4 年之前
父节点
当前提交
93b61e096b
共有 1 个文件被更改,包括 1 次插入 和 0 次删除
  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'];
 }