|
@@ -3,6 +3,7 @@ package com.persagy.fm.mybatis.config;
|
|
|
import com.persagy.fm.mybatis.handler.DynamicDataSourceHandler;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
+import org.springframework.core.annotation.Order;
|
|
|
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
|
|
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
|
|
@@ -12,6 +13,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
|
|
* @date 2021-03-29
|
|
|
*/
|
|
|
@Configuration
|
|
|
+@Order(2)
|
|
|
public class MyBatisWebConfigurer implements WebMvcConfigurer {
|
|
|
|
|
|
@Bean
|