|
|
@ -45,7 +45,7 @@ public class ChInterceptor implements HandlerInterceptor { |
|
|
//默认全部检查
|
|
|
//默认全部检查
|
|
|
else { |
|
|
else { |
|
|
// 执行认证
|
|
|
// 执行认证
|
|
|
if (StringUtils.isEmpty(token)) { |
|
|
if (token==null || StringUtils.isBlank(token)) { |
|
|
throw new ChException("token为空,token为必须参数"); |
|
|
throw new ChException("token为空,token为必须参数"); |
|
|
}else{ |
|
|
}else{ |
|
|
log.info("token正常"); |
|
|
log.info("token正常"); |
|
|
|