mirror of https://gitee.com/stylefeng/roses
【7.0.4】更新自动配置顺序
parent
104b332f07
commit
ac9a0dbf40
|
@ -2,6 +2,8 @@ package cn.stylefeng.roses.kernel.system.integration.config;
|
||||||
|
|
||||||
import cn.stylefeng.roses.kernel.system.integration.CustomErrorView;
|
import cn.stylefeng.roses.kernel.system.integration.CustomErrorView;
|
||||||
import cn.stylefeng.roses.kernel.system.integration.core.CustomBeetlGroupUtilConfiguration;
|
import cn.stylefeng.roses.kernel.system.integration.core.CustomBeetlGroupUtilConfiguration;
|
||||||
|
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
|
||||||
|
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
@ -12,6 +14,7 @@ import org.springframework.context.annotation.Configuration;
|
||||||
* @date 2021/5/17 11:16
|
* @date 2021/5/17 11:16
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@AutoConfigureBefore(ErrorMvcAutoConfiguration.class)
|
||||||
public class BeetlErrorViewAutoConfiguration {
|
public class BeetlErrorViewAutoConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
package cn.stylefeng.roses.kernel.system.integration.config;
|
package cn.stylefeng.roses.kernel.system.integration.config;
|
||||||
|
|
||||||
import cn.stylefeng.roses.kernel.system.integration.ErrorStaticJsonView;
|
import cn.stylefeng.roses.kernel.system.integration.ErrorStaticJsonView;
|
||||||
|
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
|
||||||
|
import org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration;
|
||||||
import org.springframework.context.annotation.Bean;
|
import org.springframework.context.annotation.Bean;
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
|
|
||||||
|
@ -11,6 +13,7 @@ import org.springframework.context.annotation.Configuration;
|
||||||
* @date 2021/5/17 11:16
|
* @date 2021/5/17 11:16
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@AutoConfigureBefore(ErrorMvcAutoConfiguration.class)
|
||||||
public class RestErrorViewAutoConfiguration {
|
public class RestErrorViewAutoConfiguration {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue