Explorar o código

add $fillable

visuddhinanda %!s(int64=4) %!d(string=hai) anos
pai
achega
10a4a90511
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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'];
+
 }