Commit c8e8941e68524a966bdc8bbf80caaebfb359fa3a
1 parent
cf589375
排除权限校验
Showing
1 changed file
with
2 additions
and
2 deletions
src/main/java/com/zteits/irain/portal/ParkPortalApplication.java
| @@ -27,7 +27,7 @@ import org.springframework.context.annotation.ImportResource; | @@ -27,7 +27,7 @@ import org.springframework.context.annotation.ImportResource; | ||
| 27 | @SpringBootApplication | 27 | @SpringBootApplication |
| 28 | @ImportResource(value={"classpath:dubbo/dubbo-park-consumer.xml"}) | 28 | @ImportResource(value={"classpath:dubbo/dubbo-park-consumer.xml"}) |
| 29 | @EnableAspectJAutoProxy | 29 | @EnableAspectJAutoProxy |
| 30 | -@ComponentScan(basePackages={"com.zteits.irain.portal","com.clouds.common.redis","com.clouds.common.web"}) | 30 | +@ComponentScan(basePackages={"com.zteits.irain.portal","com.clouds.common.redis","com.clouds.common.web"},excludeFilters={@Filter(type=FilterType.ASSIGNABLE_TYPE,value=WebMvcConfigurer.class)}) |
| 31 | public class ParkPortalApplication { | 31 | public class ParkPortalApplication { |
| 32 | 32 | ||
| 33 | public static void main(String[] args) { | 33 | public static void main(String[] args) { |
| @@ -44,4 +44,4 @@ public class ParkPortalApplication { | @@ -44,4 +44,4 @@ public class ParkPortalApplication { | ||
| 44 | 44 | ||
| 45 | 45 | ||
| 46 | 46 | ||
| 47 | -} | 47 | -} |
| 48 | +} | ||
| 48 | \ No newline at end of file | 49 | \ No newline at end of file |