| | |
| | | package com.java110.web.smo.menu.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.constant.PrivilegeCodeConstant; |
| | | import com.java110.common.constant.ServiceConstant; |
| | | import com.java110.common.util.Assert; |
| | | import com.java110.utils.constant.PrivilegeCodeConstant; |
| | | import com.java110.utils.constant.ServiceConstant; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.core.context.IPageData; |
| | | import com.java110.web.core.AbstractComponentSMO; |
| | | import com.java110.web.smo.menu.IEditMenuSMO; |
| | |
| | | //super.validatePageInfo(pd); |
| | | |
| | | Assert.hasKeyAndValue(paramIn, "mId", "菜单ID不能为空"); |
| | | Assert.hasKeyAndValue(paramIn, "name", "必填,请填写菜单名称"); |
| | | Assert.hasKeyAndValue(paramIn, "url", "必填,请菜单菜单地址"); |
| | | Assert.hasKeyAndValue(paramIn, "seq", "必填,请填写序列"); |
| | | Assert.hasKeyAndValue(paramIn, "isShow", "必填,请选择是否显示菜单"); |
| | | |
| | | Assert.hasKeyAndValue(paramIn, "name", "必填,请填写菜单名称"); |
| | | Assert.hasKeyAndValue(paramIn, "url", "必填,请菜单菜单地址"); |
| | | Assert.hasKeyAndValue(paramIn, "seq", "必填,请填写序列"); |
| | | Assert.hasKeyAndValue(paramIn, "isShow", "必填,请选择是否显示菜单"); |
| | | |
| | | |
| | | super.checkUserHasPrivilege(pd, restTemplate, PrivilegeCodeConstant.MENU_MANAGE); |