From 64548272a01c2575c9c2e04ab28f5810b3f336b8 Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Thu, 30 Jan 2020 23:25:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BB=A3=E7=A0=81=E7=BB=93?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin/oauth/controller/apis/role/RoleController.java | 2 -- .../com/cm/common/plugin/oauth/service/role/IRoleService.java | 3 --- .../common/plugin/oauth/service/role/impl/RoleServiceImpl.java | 3 --- 3 files changed, 8 deletions(-) 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; /**