heheng
2024-11-20 2d27b24029adafdbfc5703b38a519d65beda6a68
expert-framework/src/main/java/com/gkhy/framework/config/ResourcesConfig.java
@@ -11,7 +11,7 @@
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import com.gkhy.common.config.expertConfig;
import com.gkhy.common.config.ExpertConfig;
import com.gkhy.common.constant.Constants;
import com.gkhy.framework.interceptor.RepeatSubmitInterceptor;
@@ -31,7 +31,7 @@
    {
        /** 本地文件上传路径 */
        registry.addResourceHandler(Constants.RESOURCE_PREFIX + "/**")
                .addResourceLocations("file:" + expertConfig.getProfile() + "/");
                .addResourceLocations("file:" + ExpertConfig.getProfile() + "/");
        /** swagger配置 */
        registry.addResourceHandler("/swagger-ui/**")