处理无效异常
This commit is contained in:
parent
4a3e1b1602
commit
6bf5ca6505
@ -359,6 +359,6 @@ public interface IUserService {
|
|||||||
* @throws AccessTokenException
|
* @throws AccessTokenException
|
||||||
* @throws SearchException
|
* @throws SearchException
|
||||||
*/
|
*/
|
||||||
List<UserResourceBO> listResourceByKeywords(String keywords) throws AccessTokenException, SearchException, UnsupportedEncodingException;
|
List<UserResourceBO> listResourceByKeywords(String keywords) throws AccessTokenException, SearchException;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -415,7 +415,7 @@ public class UserServiceImpl extends AbstractService implements IUserService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<UserResourceBO> listResourceByKeywords(String keywords) throws AccessTokenException, SearchException {
|
public List<UserResourceBO> listResourceByKeywords(String keywords) throws AccessTokenException, SearchException {
|
||||||
if(StringUtils.isBlank(keywords)) {
|
if (StringUtils.isBlank(keywords)) {
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
Map<String, Object> params = getHashMap(2);
|
Map<String, Object> params = getHashMap(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user