I have two controllers and I try pass id of variable form method one controller to method to second controller and I got an error like this >MethodNotAllowedHttpException . I will add that my url after the action looks like this >http://localhost/comment?12 . How is the best way of solving this problem ?
dongshuohuan5291
2018-12-25 13:06 浏览 57
已采纳
laravel 5.7如何将一个控制器的变量id传递给其他控制器
- 写回答
- 好问题 提建议
- 追加酬金
- 关注问题
- 分享
- 邀请回答