问题描述 前端使用event-source-polyfill来SSE请求,因为需要携带token,后端在控制器中写了让如下方法。 其中$connection->getStatus()值都是:8。前端错误: <?php namespace plugin\api\app\controller; use plugin\api\app\model\UserModel; use support\Db; use...