From 798aa9213a565c6c5ffb411e3cef40a10f99e9d1 Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期五, 31 三月 2023 09:16:53 +0800 Subject: [PATCH] 新疆绿色智能综合研究所补充 --- src/main/webapp/WEB-INF/spring-mvc.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/WEB-INF/spring-mvc.xml b/src/main/webapp/WEB-INF/spring-mvc.xml index 00bb5d0..4726456 100644 --- a/src/main/webapp/WEB-INF/spring-mvc.xml +++ b/src/main/webapp/WEB-INF/spring-mvc.xml @@ -55,7 +55,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> -- Gitblit v1.9.2