我是这么调用的!!
class SchoolController extends Controller
{
public function huoqu(WxapiController $wxapiController)
{
var_dump($wxapiController->getAccessToken());
}
}
class WxapiController extends Controller
{
public function getAccessToken(Request $request){
return $request;
}
}
能跟我说说,为什么得不到request对象实例吗?