|
<?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();
|
|
}
|
|
|
|
|
|
}
|