xie.kaifeng hace 8 meses
padre
commit
b242b130e5

+ 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/");
     }
 
     /**