严肃的问一下,怎么传值到页面好累呀。。。。
$order = Sudo_order::where(['userid'=>$sudo_id])->get(); //是能获取到数据的
return view('user.user',['order'=>$order]); //这样就炸了
$order = Sudo_order::where(['userid'=>$sudo_id])->get(); //是能获取到数据的
return view('user.user',['order'=>$order]); //这样就炸了
2 Comments
错误代码分4条:
ErrorException in 647bcb0ad8fa1701b33d40fdb7b240ea555c2934.php line 83:
date() expects parameter 2 to be integer, object given
ErrorException in 647bcb0ad8fa1701b33d40fdb7b240ea555c2934.php line 83:
date() expects parameter 2 to be integer, object given (View: D:\laravel\sudo\resources\views\user\core.blade.php)
ErrorException in 647bcb0ad8fa1701b33d40fdb7b240ea555c2934.php line 83:
date() expects parameter 2 to be integer, object given (View: D:\laravel\sudo\resources\views\user\core.blade.php) (View: D:\laravel\sudo\resources\views\user\core.blade.php)
ErrorException in 647bcb0ad8fa1701b33d40fdb7b240ea555c2934.php line 83:
date() expects parameter 2 to be integer, object given (View: D:\laravel\sudo\resources\views\user\core.blade.php) (View: D:\laravel\sudo\resources\views\user\core.blade.php) (View: D:\laravel\sudo\resources\views\user\core.blade.php)
www.baidu.com/?uid=2&level=4