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