|
@@ -10,8 +10,8 @@ package cn.com.qmth.examcloud.core.print;
|
|
import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLog;
|
|
import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLog;
|
|
import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLogFactory;
|
|
import cn.com.qmth.examcloud.commons.base.logging.ExamCloudLogFactory;
|
|
import cn.com.qmth.examcloud.commons.base.logging.SLF4JImpl;
|
|
import cn.com.qmth.examcloud.commons.base.logging.SLF4JImpl;
|
|
|
|
+import cn.com.qmth.examcloud.commons.web.boot.ExamCloudApp;
|
|
import org.slf4j.MDC;
|
|
import org.slf4j.MDC;
|
|
-import org.springframework.boot.SpringApplication;
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
import org.springframework.boot.web.support.SpringBootServletInitializer;
|
|
import org.springframework.boot.web.support.SpringBootServletInitializer;
|
|
@@ -44,7 +44,8 @@ public class PrintApplication extends SpringBootServletInitializer {
|
|
if (LOG instanceof SLF4JImpl) {
|
|
if (LOG instanceof SLF4JImpl) {
|
|
MDC.put("TRACE_ID", Thread.currentThread().getName());
|
|
MDC.put("TRACE_ID", Thread.currentThread().getName());
|
|
}
|
|
}
|
|
- SpringApplication.run(PrintApplication.class, args);
|
|
|
|
|
|
+ //SpringApplication.run(PrintApplication.class, args);
|
|
|
|
+ ExamCloudApp.run(PrintApplication.class, "print", args);
|
|
}
|
|
}
|
|
|
|
|
|
//@Bean(name = "multipartResolver")
|
|
//@Bean(name = "multipartResolver")
|