|
@@ -10,8 +10,6 @@ import org.springframework.boot.SpringApplication;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.boot.builder.SpringApplicationBuilder;
|
|
|
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
|
|
|
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
-//import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
|
import org.springframework.context.annotation.Bean;
|
|
|
import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder;
|
|
|
|
|
@@ -19,14 +17,12 @@ import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
|
|
|
+
|
|
|
/**
|
|
|
* @author abnerhou
|
|
|
* @date 2021/1/5 12:25
|
|
|
* @desciption
|
|
|
*/
|
|
|
-//@EnableFeignClients
|
|
|
-//@NacosPropertySource(dataId = "abner-test", autoRefreshed = true)
|
|
|
-@EnableDiscoveryClient
|
|
|
@SpringBootApplication(scanBasePackages = {"fdage.back.sdk.base.mybatis","fdage.back.sdk.core" , "kankan.daikan" , "fdage.back.sdk.base.swagger"})
|
|
|
@MapperScan(basePackages = {"kankan.daikan.base.dao"})
|
|
|
public class KankanDaikanApplication extends SpringBootServletInitializer {
|