tp5重定向,跳转到指定的页面
namespace app\index\controller;
use think\Controller;
class Index extends controller{
public function index() {
$this->redirect('/admin/login/'); } }
使用的是redirect()这个方法
namespace app\index\controller;
use think\Controller;
class Index extends controller{
public function index() {
$this->redirect('/admin/login/'); } }
使用的是redirect()这个方法
评论
评论列表