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);