默认跳转到cms首页

This commit is contained in:
zhujj 2019-01-21 17:50:19 +08:00
parent 3f1201aa3a
commit 579faae662
2 changed files with 7 additions and 1 deletions

View File

@ -21,7 +21,13 @@ public class SysIndexController extends BaseController
{
@Autowired
private ISysMenuService menuService;
// 系统CMS首页
@GetMapping({"","/"})
public String cmsindex(ModelMap mmap)
{
return "web";
}
// 系统首页
@GetMapping("/index")
public String index(ModelMap mmap)

View File

@ -88,7 +88,7 @@ pagehelper:
shiro:
user:
# 登录地址
loginUrl: /login
loginUrl: /web
# 权限认证失败地址
unauthorizedUrl: /unauth
# 首页地址