|
@@ -8,6 +8,7 @@ import com.chelvc.framework.base.config.BeanFullnameGenerator;
|
|
import com.chelvc.framework.base.config.MultiserverMvcConfigurer;
|
|
import com.chelvc.framework.base.config.MultiserverMvcConfigurer;
|
|
import com.chelvc.framework.database.interceptor.DynamicDatasourceInterceptor;
|
|
import com.chelvc.framework.database.interceptor.DynamicDatasourceInterceptor;
|
|
import com.chelvc.framework.nacos.config.MultiserverNacosConfigurer;
|
|
import com.chelvc.framework.nacos.config.MultiserverNacosConfigurer;
|
|
|
|
+import com.chelvc.framework.security.context.AuthorizeSessionFactory;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
@@ -33,7 +34,8 @@ import org.springframework.context.annotation.Import;
|
|
UserServer.class,
|
|
UserServer.class,
|
|
AdminServer.class,
|
|
AdminServer.class,
|
|
VehicleServer.class,
|
|
VehicleServer.class,
|
|
- MaintainServer.class
|
|
|
|
|
|
+ MaintainServer.class,
|
|
|
|
+ AuthorizeSessionFactory.class
|
|
})})
|
|
})})
|
|
@Import({MultiserverMvcConfigurer.class, MultiserverNacosConfigurer.class, DynamicDatasourceInterceptor.class})
|
|
@Import({MultiserverMvcConfigurer.class, MultiserverNacosConfigurer.class, DynamicDatasourceInterceptor.class})
|
|
public class Server {
|
|
public class Server {
|