diff --git a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/controller/apis/role/RoleController.java b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/controller/apis/role/RoleController.java index 6d3712e..a03e892 100644 --- a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/controller/apis/role/RoleController.java +++ b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/controller/apis/role/RoleController.java @@ -5,7 +5,6 @@ import com.cm.common.base.AbstractController; import com.cm.common.constants.ISystemConstant; import com.cm.common.exception.SearchException; import com.cm.common.plugin.oauth.service.role.IRoleService; -import com.cm.common.pojo.dtos.ZTreeDTO; import com.cm.common.result.ErrorResult; import io.swagger.annotations.*; import org.apache.commons.lang3.StringUtils; @@ -14,7 +13,6 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; -import java.util.List; import java.util.Map; /** diff --git a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/IRoleService.java b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/IRoleService.java index 052092e..738b783 100644 --- a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/IRoleService.java +++ b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/IRoleService.java @@ -1,9 +1,6 @@ package com.cm.common.plugin.oauth.service.role; import com.alibaba.fastjson.JSONArray; -import com.cm.common.pojo.dtos.ZTreeDTO; - -import java.util.List; /** * When you feel like quitting. Think about why you started diff --git a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/impl/RoleServiceImpl.java b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/impl/RoleServiceImpl.java index 526523f..1cdfc91 100644 --- a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/impl/RoleServiceImpl.java +++ b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/role/impl/RoleServiceImpl.java @@ -1,7 +1,6 @@ package com.cm.common.plugin.oauth.service.role.impl; import com.alibaba.fastjson.JSONArray; -import com.alibaba.fastjson.JSONObject; import com.cm.common.base.AbstractService; import com.cm.common.config.properties.ApiPathProperties; import com.cm.common.exception.AccessTokenException; @@ -10,13 +9,11 @@ import com.cm.common.plugin.IApiConsts; import com.cm.common.plugin.oauth.service.role.IRoleService; import com.cm.common.plugin.oauth.token.ClientTokenManager; import com.cm.common.plugin.utils.RestTemplateUtil; -import com.cm.common.pojo.dtos.ZTreeDTO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.autoconfigure.security.oauth2.OAuth2ClientProperties; import org.springframework.stereotype.Service; import java.util.HashMap; -import java.util.List; import java.util.Map; /**