需求:
游戏URL地址:http://localhost/mahj/index.html
游戏登录地址:http://localhost/index.php/Index/login
我想在玩家登录成功后跳转到游戏URL地址。怎样实现呢?
想到的方法:
1.redirect:但是只能跳转到thinkphp框架内的页面。
但是游戏的资源和地址与游戏登录页面在不同的框架内。所以想有类似这样的方法:
$this->redirect('http://localhost/mahj/index.html', '', 3);
请问thinkphp有这样的方法吗?