update(REQ-2324) - 完善客户端调用引擎的记录

This commit is contained in:
wangli 2024-05-16 17:17:11 +08:00
parent efa94c4165
commit fcab90b664
2 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ public enum OtherRespCode implements IModuleRespCode {
REPEAT_SUBMIT_TIME_ERROR_TIPS("002", "重复提交间隔时间不能小于{}秒"),
REPEAT_SUBMIT_ERROR_TIPS("003", "{}"),
CLIENT_VERSION_SUPPORT("004", "客户端 JAR 包版本不支持,请升级到 {} 版本, 当前版本 {}"),
MICRO_SERVER_NEED_REBUILD("005", "微服务 {} 需要重新编译发布"),
MICRO_SERVER_NEED_REBUILD("005", "微服务 {} 需要重新编译发布, 如果是本地调用,请访问 WebApi 接口在现有的接口地址前加上“web/v1/”即可"),
MESSAGE_PUSH_EVENT_BUILD_ERROR("006", "不能使用 createEvent 函数创建`发送待办`的事件, 请调用 createPendingPushEvent 函数"),
;

View File

@ -74,6 +74,7 @@ public class RequestHeaderContextInterceptor implements HandlerInterceptor {
private void recordClientInfo(HttpServletRequest request, String headerClientVersion,
DefaultArtifactVersion clientVersion) {
log.info("HEADER_SERVER_NAME : {}", request.getHeader(HEADER_SERVER_NAME));
if (!StringUtils.hasText(request.getHeader(HEADER_SERVER_NAME))) {
return;
}