xie.kaifeng 8 ماه پیش
والد
کامیت
b242b130e5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      mtp3-century/src/main/java/com/muchinfo/mtp3century/configuration/WebConfig.java

+ 1 - 1
mtp3-century/src/main/java/com/muchinfo/mtp3century/configuration/WebConfig.java

@@ -28,7 +28,7 @@ public class WebConfig implements WebMvcConfigurer {
         WskhOpenaccountconfig configtype = iWskhOpenaccountconfigMapper.selectOne(new QueryWrapper<WskhOpenaccountconfig>().eq("CONFIGTYPE", 6));
 
         registry.addResourceHandler("/image/**")
-                .addResourceLocations("file:"+configtype.getConfigvalue()+"uploadFile/");
+                .addResourceLocations("file:"+configtype.getConfigvalue()+"/uploadFile/");
     }
 
     /**