seven 2 天之前
父节点
当前提交
ff9ef98c87
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      app/Models/GameplayRule.php

+ 7 - 0
app/Models/GameplayRule.php

@@ -18,6 +18,13 @@ class GameplayRule extends Authenticatable
 
 
     protected $table = 'gameplay_rules';
     protected $table = 'gameplay_rules';
     protected $hidden = ['created_at', 'updated_at'];
     protected $hidden = ['created_at', 'updated_at'];
+    protected $fillable = [
+        'keywords',
+        'groups',
+        'maxinum',
+        'mininum',
+        'odds',
+    ];
 
 
 
 
     protected function getCreatedAtAttribute($value)
     protected function getCreatedAtAttribute($value)