Browse Source

修复匿名注解空值无效的问题(IASXHN)

pull/455/MERGE
RuoYi 2 weeks ago
parent
commit
c0afd904d0
  1. 11
      ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/PermitAllUrlProperties.java

11
ruoyi-framework/src/main/java/com/ruoyi/framework/config/properties/PermitAllUrlProperties.java

@ -91,9 +91,16 @@ public class PermitAllUrlProperties implements InitializingBean, ApplicationCont
List<String> urls = new ArrayList<>();
for (String base : bases)
{
for (String uri : uris)
if (uris.length > 0)
{
urls.add(prefix(base) + prefix(uri));
for (String uri : uris)
{
urls.add(prefix(base) + prefix(uri));
}
}
else
{
urls.add(prefix(base));
}
}
return urls;

Loading…
Cancel
Save