| | |
| | | public void addResourceHandlers(ResourceHandlerRegistry registry) { |
| | | registry.addResourceHandler("/uploadtest/**").addResourceLocations("file:E:/file/gkhy/test/"); |
| | | //registry.addResourceHandler("/upload/**").addResourceLocations("file:/home/upload/laboratoryRiskManage/"); |
| | | registry.addResourceHandler("/upload/**").addResourceLocations("file:/home/gkhy/upload/laboratoryRiskManage/"); |
| | | registry.addResourceHandler("/uploadLab/**").addResourceLocations("file:/home/upload/laboratoryRiskManage/"); |
| | | |
| | | super.addResourceHandlers(registry); |
| | | } |