|
@@ -32,9 +32,9 @@ import cn.com.qmth.examcloud.common.support.logging.SLF4JImpl;
|
|
@EnableFeignClients(basePackages = { "cn.com.qmth.examcloud.service.examwork.service.rpc" })
|
|
@EnableFeignClients(basePackages = { "cn.com.qmth.examcloud.service.examwork.service.rpc" })
|
|
@EnableDiscoveryClient
|
|
@EnableDiscoveryClient
|
|
@EnableAutoConfiguration(exclude = { MultipartAutoConfiguration.class })
|
|
@EnableAutoConfiguration(exclude = { MultipartAutoConfiguration.class })
|
|
-public class CoreExamWorkApplication {
|
|
|
|
|
|
+public class CoreExamWorkApp {
|
|
|
|
|
|
- private static final ExamCloudLog LOG = ExamCloudLogFactory.getLog(CoreExamWorkApplication.class);
|
|
|
|
|
|
+ private static final ExamCloudLog LOG = ExamCloudLogFactory.getLog(CoreExamWorkApp.class);
|
|
|
|
|
|
/**
|
|
/**
|
|
* main
|
|
* main
|
|
@@ -46,7 +46,7 @@ public class CoreExamWorkApplication {
|
|
if (LOG instanceof SLF4JImpl) {
|
|
if (LOG instanceof SLF4JImpl) {
|
|
MDC.put("TRACE_ID", Thread.currentThread().getName());
|
|
MDC.put("TRACE_ID", Thread.currentThread().getName());
|
|
}
|
|
}
|
|
- SpringApplication.run(CoreExamWorkApplication.class, args);
|
|
|
|
|
|
+ SpringApplication.run(CoreExamWorkApp.class, args);
|
|
}
|
|
}
|
|
|
|
|
|
@Bean
|
|
@Bean
|