|
|
|
@@ -1,6 +1,7 @@ |
|
|
|
package cn.afterturn.easypoi.configuration; |
|
|
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties; |
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
@@ -30,6 +31,7 @@ public class EasyPoiAutoConfiguration { |
|
|
|
* @return resolver 视图跳转 |
|
|
|
*/ |
|
|
|
@Bean |
|
|
|
@ConditionalOnMissingBean |
|
|
|
public BeanNameViewResolver beanNameViewResolver() { |
|
|
|
BeanNameViewResolver resolver = new BeanNameViewResolver(); |
|
|
|
resolver.setOrder(10); |
|
|
|
|