This commit is contained in:
thinkgem
2018-02-23 20:50:59 +08:00
parent 3e78c3c3ee
commit 756e2af7ae
3 changed files with 4 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ package com.jeesite.modules.state.web;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
/**
@@ -18,7 +19,8 @@ public class EhCacheController {
@RequiresPermissions("stste:ehcache")
@RequestMapping(value="")
public String index(){
public String index(Model model){
model.addAttribute("message", "敬请期待!");
return "modules/state/ehcacheIndex";
}

View File

@@ -104,7 +104,7 @@ function listselectCallback(id, action, index, layero){
'${ctx}/sys/secAdmin/form?userCode='
+$('#userSelectCode').val());
}else{
js.showMessage('没有选择要');
js.showMessage('请选择需要设置为二级管理员的用户');
}
}
}