Explorar el Código

U邮件发送

541469799@qq.com hace 1 año
padre
commit
16e06a1160
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/index/controller/User.php

+ 1 - 1
app/index/controller/User.php

@@ -45,7 +45,7 @@ class User extends Controller
     {
         $userId = Session::get('user_id');
         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 view('order');