| | |
| | | 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.core.component.AbstractComponentSMO; |
| | | import com.java110.web.smo.basePrivilege.IEditBasePrivilegeSMO; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.http.HttpMethod; |
| | |
| | | Assert.hasKeyAndValue(paramIn, "pId", "权限ID不能为空"); |
| | | Assert.hasKeyAndValue(paramIn, "name", "必填,请填写权限名称"); |
| | | Assert.hasKeyAndValue(paramIn, "domain", "必填,请选择商户类型"); |
| | | Assert.hasKeyAndValue(paramIn, "resource", "必填,请填写资源路径"); |
| | | |
| | | |
| | | super.checkUserHasPrivilege(pd, restTemplate, PrivilegeCodeConstant.BASE_PRIVILEGE); |