From 6bf5ca6505370ffdda340fb5c7bf6ae7c683ad69 Mon Sep 17 00:00:00 2001 From: WenG <450292408@qq.com> Date: Fri, 13 Nov 2020 23:00:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E6=97=A0=E6=95=88=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/cm/common/plugin/oauth/service/user/IUserService.java | 2 +- .../common/plugin/oauth/service/user/impl/UserServiceImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/IUserService.java b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/IUserService.java index ed7a25e..19cd083 100644 --- a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/IUserService.java +++ b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/IUserService.java @@ -359,6 +359,6 @@ public interface IUserService { * @throws AccessTokenException * @throws SearchException */ - List listResourceByKeywords(String keywords) throws AccessTokenException, SearchException, UnsupportedEncodingException; + List listResourceByKeywords(String keywords) throws AccessTokenException, SearchException; } diff --git a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/impl/UserServiceImpl.java b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/impl/UserServiceImpl.java index b05b8f7..dceb788 100644 --- a/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/impl/UserServiceImpl.java +++ b/cloud-common-plugin-oauth/src/main/java/com/cm/common/plugin/oauth/service/user/impl/UserServiceImpl.java @@ -415,7 +415,7 @@ public class UserServiceImpl extends AbstractService implements IUserService { @Override public List listResourceByKeywords(String keywords) throws AccessTokenException, SearchException { - if(StringUtils.isBlank(keywords)) { + if (StringUtils.isBlank(keywords)) { return new ArrayList<>(); } Map params = getHashMap(2);