Closed alphasnow closed 3 years ago
I found a solution by modifying the configuration file.
config/swoole_http.php
'providers' => [
Illuminate\Pagination\PaginationServiceProvider::class,
Illuminate\Auth\AuthServiceProvider::class,
],
Illuminate\Auth\RequestGuard
was first initialized, a blank request was obtained Illuminate\Auth\RequestGuard
will be saved in the Illuminate\Auth\AuthManager
$customCreators
inside Illuminate\Auth\AuthManager
Thanks @alphasnow ! Good job
Make sure you read Issues Guideline and answer these questions before submitting your issue. Thanks! (Any non-English issues will be closed immediately.)
php -v
andphp --ri swoole
) php: 7.4.19 swoole: 4.6.7$ php --ri swoole swoole
Swoole => enabled Author => Swoole Team team@swoole.com Version => 4.6.7 Built => May 25 2021 15:56:22 coroutine => enabled with boost asm context epoll => enabled eventfd => enabled signalfd => enabled cpu_affinity => enabled spinlock => enabled rwlock => enabled openssl => OpenSSL 1.0.2u 20 Dec 2019 pcre => enabled zlib => 1.2.11 mutex_timedlock => enabled pthread_barrier => enabled futex => enabled async_redis => enabled
Directive => Local Value => Master Value swoole.enable_coroutine => On => On swoole.enable_library => On => On swoole.enable_preemptive_scheduler => Off => Off swoole.display_errors => On => On swoole.use_shortname => On => On swoole.unixsock_buffer_size => 8388608 => 8388608