mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
默认访问admin模块
This commit is contained in:
parent
0594f6069d
commit
8b91f3589a
@ -7,6 +7,7 @@ use think\Db;
|
||||
class Index extends Controller {
|
||||
|
||||
public function index() {
|
||||
$this->redirect('@admin');
|
||||
$version = Db::query('select version() as ver');
|
||||
$version = array_pop($version);
|
||||
$this->assign('mysql_ver', $version['ver']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user