This commit is contained in:
wuyanwen 2019-12-11 21:00:24 +08:00
parent 6624a0cc6b
commit c48d9154ad
2 changed files with 16 additions and 5 deletions

View File

@ -1,17 +1,28 @@
<?php <?php
namespace catchAdmin\index\controller; namespace catchAdmin\index\controller;
use catcher\base\CatchController;
use catcher\base\BaseController; class Index extends CatchController
class Index extends BaseController
{ {
/**
*
* @time 2019年12月11日
* @throws \Exception
* @return string
*/
public function index(): string public function index(): string
{ {
return $this->fetch(); return $this->fetch();
} }
public function theme() /**
*
* @time 2019年12月11日
* @throws \Exception
* @return string
*/
public function theme(): string
{ {
return $this->fetch(); return $this->fetch();
} }

View File

@ -85,7 +85,7 @@
<dl class="layui-nav-child"> <dl class="layui-nav-child">
<dd><a lay-href="{:url('user')}">用户管理</a></dd> <dd><a lay-href="{:url('user')}">用户管理</a></dd>
<dd><a lay-href="{:url('role')}">角色管理</a></dd> <dd><a lay-href="{:url('role')}">角色管理</a></dd>
<dd><a lay-href="page/system/authorities.html">菜单管理</a></dd> <dd><a lay-href="{:url('permission')}">菜单管理</a></dd>
<dd><a lay-href="page/system/loginRecord.html">登录日志</a></dd> <dd><a lay-href="page/system/loginRecord.html">登录日志</a></dd>
</dl> </dl>
</li> </li>