cqpCow 1 year ago
parent
commit
b329d8e5e6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Model/Employee.php

+ 1 - 0
app/Model/Employee.php

@@ -11,6 +11,7 @@ use Illuminate\Database\Eloquent\Model;
  */
 class Employee extends Model
 {
+    protected $guarded = [];
     protected $table = "employee"; //指定表
     const CREATED_AT = 'crt_time';
     const UPDATED_AT = 'upd_time';