swoft运行时的那些坑
1,报错: Error(code:0) Interface ‘Swoft\Http\Server\Contract\MiddlewareInterface’ not found
使用:
composer require swoft/http-se rver --ignore-platform-req=ext-redis
2.报错:InvalidArgumentException(code:500) Bean name of encryptor is not defined!
'encryptor' => [
'class' => \App\Common\OpenPlatform\Encryptor::class,
]
版权声明:本文为m0_50593634原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。