kongzy
2023-11-28 59d9ea33f503e363f2e2941c7c00cc9dd9d9d1c7
src/main/webapp/WEB-INF/spring-mvc.xml
@@ -19,7 +19,6 @@
   <context:component-scan base-package="com.nanometer.smartlab.api"/>
   <context:component-scan base-package="com.nanometer.smartlab.controller"/>
   <context:property-placeholder ignore-unresolvable="true"        location="WEB-INF/config.properties" file-encoding="UTF-8"/>
   <!-- 开启注解 -->
   <!-- 默认的注解映射的支持,org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping -->
@@ -55,7 +54,7 @@
   </mvc:cors>
   <mvc:resources mapping="/upload/**"  location="file:///d:/opt/file/smartlab/img/" />
   <mvc:resources mapping="/upload/**"  location="file:${personImgPath}" />
   <!-- 静态资源(js、image等)的访问 -->
   <mvc:default-servlet-handler/>
</beans>