update - 调整 AutoConfiguration 获取版本号的功能
This commit is contained in:
parent
610626f869
commit
9d805fb93e
@ -1,6 +1,5 @@
|
||||
package cn.axzo.workflow.server.common.interceptor;
|
||||
|
||||
import cn.axzo.workflow.core.common.exception.WorkflowEngineException;
|
||||
import cn.axzo.workflow.core.repository.entity.ExtAxProperty;
|
||||
import cn.axzo.workflow.core.service.ExtAxPropertyService;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@ -57,7 +56,9 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
|
||||
return true;
|
||||
} else {
|
||||
log.info("request uri 1 : {}", request.getRequestURI());
|
||||
throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion, headerClientVersion);
|
||||
log.error(CLIENT_VERSION_SUPPORT.getMessage(), serviceVersion, headerClientVersion);
|
||||
// throw new WorkflowEngineException(CLIENT_VERSION_SUPPORT, serviceVersion,
|
||||
// headerClientVersion);
|
||||
}
|
||||
}
|
||||
// 仅 feignApi 才需要检查版本
|
||||
|
||||
Loading…
Reference in New Issue
Block a user