Browse Source

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

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

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

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

Loading…
Cancel
Save