Bladeren bron

更改bug

xie.kaifeng 8 maanden geleden
bovenliggende
commit
b242b130e5
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  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/");
     }
 
     /**