dggmyyc/application/index/controller/IndexController.php

25 lines
368 B
PHP
Executable File

<?php
namespace app\index\controller;
use think\facade\Session;
class IndexController extends Controller
{
//无需验证登录的方法
protected $authExcept = [
'index',
];
//前台模块首页
public function index()
{
header("Location: /admin");
exit;
return $this->fetch();
}
}