Commit b00351bf8b264bfaae3535b647e47134070e6be0
1 parent
a18e9a47
取消权限验证
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 | 27 | @SpringBootApplication |
| 28 | 28 | @ImportResource(value={"classpath:dubbo/dubbo-park-consumer.xml"}) |
| 29 | 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 | 31 | public class ParkPortalApplication { |
| 32 | 32 | |
| 33 | 33 | public static void main(String[] args) { |
| ... | ... | @@ -44,4 +44,4 @@ public class ParkPortalApplication { |
| 44 | 44 | |
| 45 | 45 | |
| 46 | 46 | |
| 47 | 47 | -} |
| 48 | +} | |
| 48 | 49 | \ No newline at end of file | ... | ... |