2017-09-01 32 views

回答

3

重复我从来没有用过流明自己,但你应该能够解决从服务容器当前请求:

app('request'); 

您可能需要传递完整的类名称:

app('Illuminate\Http\Request'); 
+0

谢谢! 'app('request')'工作! – Sisir

相关问题