新增nacos配置中心&注册中心

This commit is contained in:
刘亚洲(A)
2024-12-30 18:26:13 +08:00
parent 84149b7ff5
commit 9fe7d7ff31
4 changed files with 7 additions and 166 deletions

View File

@@ -4,6 +4,7 @@ package com.volvo.ai.analytic.center;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Bean;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.client.RestTemplate;
@@ -14,6 +15,7 @@ import com.volvo.common.feign.annotation.EnableVolvoFeignClients;
@EnableVolvoFeignClients
@EnableScheduling
@MapperScan({"com.volvo.ai.analytic.center.mapper"})
@EnableDiscoveryClient
public class AiAnalyticCenterServiceApplication {
public static void main(String[] args) {