修改权限

This commit is contained in:
wuyanwen
2020-01-17 15:49:29 +08:00
parent c6c0446c4e
commit 8b216f2bc4
2 changed files with 2 additions and 11 deletions

View File

@@ -29,15 +29,6 @@ class Role extends CatchController
return CatchResponse::success(Tree::done($this->role->getList()));
}
/**
*
* @time 2019年12月11日
* @throws \Exception
* @return string
*/
public function create()
{}
/**
*
* @time 2019年12月11日
@@ -147,7 +138,7 @@ class Role extends CatchController
$permissionIds[] = $_permission->pivot->permission_id;
}
}
return CatchResponse::success([
'permissions' => $permissions,
'hasPermissions' => $permissionIds,