|
@@ -45,7 +45,7 @@ class User extends Controller
|
|
{
|
|
{
|
|
$userId = Session::get('user_id');
|
|
$userId = Session::get('user_id');
|
|
if (empty($userId)) {
|
|
if (empty($userId)) {
|
|
- Cache::set('returnuri', '/index/user/order.html', 300);
|
|
|
|
|
|
+ Session::set('returnuri', '/index/user/order.html');
|
|
return redirect('/index/passport/login.html');
|
|
return redirect('/index/passport/login.html');
|
|
}
|
|
}
|
|
return view('order');
|
|
return view('order');
|