浏览代码

Merge remote-tracking branch 'origin/2.0' into 2.0

jqh 4 年之前
父节点
当前提交
0e8204da1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Models/Permission.php

+ 1 - 1
src/Models/Permission.php

@@ -21,7 +21,7 @@ class Permission extends Model implements Sortable
     /**
      * @var array
      */
-    protected $fillable = ['name', 'slug', 'http_method', 'http_path'];
+    protected $fillable = ['parent_id', 'name', 'slug', 'http_method', 'http_path'];
 
     /**
      * @var array