use support\request; protected $requst = null; public function __construct(request $request) { $this->request = $request; } 上面写法会报错 ArgumentCountError: Too few arguments to function app\controller\Login...