报错。 后面的人注意: PHP版本必须7以上。 对版本要求目前有点高,大部分生产环境都不是7.0.
ErrorException in userActionEvent.php line 21:
Argument 1 passed to App\Events\userActionEvent::__construct() must be an instance of App\Events\string, string given, called in D:\phpStudy2\WWW\big\app\Http\Controllers\Admin\RoleController.php on line 162 and defined
报错。 后面的人注意: PHP版本必须7以上。 对版本要求目前有点高,大部分生产环境都不是7.0.
ErrorException in userActionEvent.php line 21:
Argument 1 passed to App\Events\userActionEvent::__construct() must be an instance of App\Events\string, string given, called in D:\phpStudy2\WWW\big\app\Http\Controllers\Admin\RoleController.php on line 162 and defined