update
This commit is contained in:
@@ -5,6 +5,7 @@ package com.jeesite.modules.state.web;
|
|||||||
|
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.Model;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -18,7 +19,8 @@ public class EhCacheController {
|
|||||||
|
|
||||||
@RequiresPermissions("stste:ehcache")
|
@RequiresPermissions("stste:ehcache")
|
||||||
@RequestMapping(value="")
|
@RequestMapping(value="")
|
||||||
public String index(){
|
public String index(Model model){
|
||||||
|
model.addAttribute("message", "敬请期待!");
|
||||||
return "modules/state/ehcacheIndex";
|
return "modules/state/ehcacheIndex";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -104,7 +104,7 @@ function listselectCallback(id, action, index, layero){
|
|||||||
'${ctx}/sys/secAdmin/form?userCode='
|
'${ctx}/sys/secAdmin/form?userCode='
|
||||||
+$('#userSelectCode').val());
|
+$('#userSelectCode').val());
|
||||||
}else{
|
}else{
|
||||||
js.showMessage('没有选择要');
|
js.showMessage('请选择需要设置为二级管理员的用户');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user