(1)权限微调

(2)分页函数移动到common.js
This commit is contained in:
wangxin
2018-04-11 14:30:15 +08:00
parent 76d190e78a
commit 1f9a190924
3 changed files with 9 additions and 9 deletions

View File

@@ -70,7 +70,7 @@ public class IpCfgController extends BaseController{
// return ipCfgList(model,Constants.AUDIT_PAGE,cfgName,ipCfg,request,response);
// }
@RequestMapping(value = {"list"})
@RequiresPermissions(value={"cfg:ip:add","cfg:ip:edit","cfg:ip:delete","cfg:ip:audit"},logical=Logical.OR)
@RequiresPermissions(value={"cfg:ip:view"},logical=Logical.OR)
public String ipCfgList(Model model,Integer audit,String cfgName,@ModelAttribute("ipCfg")BaseIpCfg ipCfg,HttpServletRequest request,HttpServletResponse response) {
model.addAttribute("cfgName", cfgName);
model.addAttribute("audit", audit);