作者 王晓刚
1 个管道 的构建 通过 耗费 0 秒

修改问题文档

... ... @@ -141,6 +141,7 @@ class User extends Frontend
$token = $this->auth->getToken();
session('token',$token);
Cookie::set('token',$token);
session('user',$result);
$this->success('SUCCESS','',['target_url'=>rawurldecode($target_url)]);
}
... ... @@ -193,6 +194,7 @@ class User extends Frontend
$token = $this->auth->getToken();
session('token',$token);
Cookie::set('token',$token);
session('user',$result1);
$this->success('SUCCESS');
}
... ...