|
@@ -7,7 +7,7 @@ import com.chelvc.cloud.vehicle.server.VehicleServer;
|
|
import com.chelvc.framework.base.config.BeanFullnameGenerator;
|
|
import com.chelvc.framework.base.config.BeanFullnameGenerator;
|
|
import com.chelvc.framework.base.config.MultipleServerConfigurer;
|
|
import com.chelvc.framework.base.config.MultipleServerConfigurer;
|
|
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.MultipleNacosConfigurer;
|
|
import com.chelvc.framework.security.session.OAuthSessionFactory;
|
|
import com.chelvc.framework.security.session.OAuthSessionFactory;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.mybatis.spring.annotation.MapperScan;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.SpringApplication;
|
|
@@ -37,7 +37,7 @@ import org.springframework.context.annotation.Import;
|
|
MaintainServer.class,
|
|
MaintainServer.class,
|
|
OAuthSessionFactory.class
|
|
OAuthSessionFactory.class
|
|
})})
|
|
})})
|
|
-@Import({MultipleServerConfigurer.class, MultiserverNacosConfigurer.class, DynamicDatasourceInterceptor.class})
|
|
|
|
|
|
+@Import({MultipleServerConfigurer.class, MultipleNacosConfigurer.class, DynamicDatasourceInterceptor.class})
|
|
public class Server {
|
|
public class Server {
|
|
public static void main(String[] args) {
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(Server.class);
|
|
SpringApplication.run(Server.class);
|