casbin/webman-permission报错LaravelDatabaseAdapter

leedom

截图

报错信息:
ArgumentCountError: Too few arguments to function Casbin\WebmanPermission\Adapter\LaravelDatabaseAdapter::__construct(), 0 passed in vendor\workerman\webman-framework\src\Container.php on line 38 and exactly 1 expected in vendor\casbin\webman-permission\src\Adapter\LaravelDatabaseAdapter.php:50

数据库链接可用; permission.php配置如下:
截图

求解是什么原因

903 0 0
0个回答

年代过于久远,无法发表回答
×
🔝