|
|
@@ -27,7 +27,7 @@ public class WebConfig implements WebMvcConfigurer {
|
|
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
|
|
WskhOpenaccountconfig configtype = iWskhOpenaccountconfigMapper.selectOne(new QueryWrapper<WskhOpenaccountconfig>().eq("CONFIGTYPE", 6));
|
|
|
|
|
|
- registry.addResourceHandler("/image/**")
|
|
|
+ registry.addResourceHandler("/uploadFile/**")
|
|
|
.addResourceLocations("file:"+configtype.getConfigvalue()+"/uploadFile/");
|
|
|
}
|
|
|
|
|
|
@@ -49,7 +49,7 @@ public class WebConfig implements WebMvcConfigurer {
|
|
|
"/common/getCheckSign",
|
|
|
"/swagger-resources/**",
|
|
|
"/webjars/**",
|
|
|
- "/image/**",
|
|
|
+ "/uploadFile/**",
|
|
|
"/**/api-docs");
|
|
|
}
|
|
|
|