From d6201c37c34681b11d6eeb5d3fa2008991d9f370 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期五, 12 四月 2024 15:26:21 +0800 Subject: [PATCH] # --- zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/WebConfig.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/WebConfig.java b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/WebConfig.java index adf44f8..c5c7adc 100644 --- a/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/WebConfig.java +++ b/zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/common/config/WebConfig.java @@ -1,7 +1,7 @@ package com.zy.asrs.wcs.common.config; import com.zy.asrs.wcs.common.constant.Constants; -import com.zy.asrs.wcs.utils.Utils; +import com.zy.asrs.wcs.utils.CommonUtils; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.servlet.AsyncHandlerInterceptor; @@ -30,7 +30,7 @@ return new AsyncHandlerInterceptor(){ @Override public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception { - Utils.cors(response); + CommonUtils.cors(response); return true; } }; -- Gitblit v1.9.1