解决方法:https://github.com/dusterio/lumen-passport/issues/69git
public function boot() { LumenPassport::routes($this->app->router); }
该方法的参数应该传递 $this->app->router 而不是 $this->appgithub