代码提交
This commit is contained in:
parent
23730fab90
commit
68f404937d
|
|
@ -44,7 +44,9 @@ public class ZtApplication implements WebMvcConfigurer
|
|||
*/
|
||||
registry.addResourceHandler("/fp/**").addResourceLocations("file:" + RuoYiConfig.getProfile()+"/fp/");
|
||||
registry.addResourceHandler("/lp/**").addResourceLocations("file:" + RuoYiConfig.getLPUploadPath()+"/");
|
||||
System.out.println( RuoYiConfig.getLPUploadPath()+"/");
|
||||
registry.addResourceHandler("/ls/**").addResourceLocations("file:" + RuoYiConfig.getLSUploadPath()+"/");
|
||||
registry.addResourceHandler("/fp/**").addResourceLocations("file:" + RuoYiConfig.getFPUploadPath()+"/");
|
||||
// System.out.println( RuoYiConfig.getLPUploadPath()+"/");
|
||||
// registry.addResourceHandler("/**").addResourceLocations("file:" + RuoYiConfig.getProfile());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,9 @@ public class WebConfig implements WebMvcConfigurer {
|
|||
*/
|
||||
registry.addResourceHandler("/fp/**").addResourceLocations("file:" + RuoYiConfig.getProfile()+"/fp/");
|
||||
registry.addResourceHandler("/lp/**").addResourceLocations("file:" + RuoYiConfig.getLPUploadPath()+"/");
|
||||
System.out.println( RuoYiConfig.getLPUploadPath()+"/");
|
||||
registry.addResourceHandler("/ls/**").addResourceLocations("file:" + RuoYiConfig.getLSUploadPath()+"/");
|
||||
registry.addResourceHandler("/fp/**").addResourceLocations("file:" + RuoYiConfig.getFPUploadPath()+"/");
|
||||
// System.out.println( RuoYiConfig.getLPUploadPath()+"/");
|
||||
// registry.addResourceHandler("/**").addResourceLocations("file:" + RuoYiConfig.getProfile());
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -54,6 +54,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
</if>
|
||||
<!-- 数据范围过滤 -->
|
||||
${params.dataScope}
|
||||
|
||||
order by r.create_time desc
|
||||
</select>
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue