Browse Source

add $fillable

visuddhinanda 4 năm trước cách đây
mục cha
commit
10a4a90511
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Models/ResIndex.php

+ 2 - 0
app/Models/ResIndex.php

@@ -8,4 +8,6 @@ use Illuminate\Database\Eloquent\Model;
 class ResIndex extends Model
 {
     use HasFactory;
+	protected $fillable = ['book','paragraph','title','title_en','level','type','language','author','share','create_time','update_time'];
+
 }