|
@@ -1,6 +1,5 @@
|
|
|
package cn.com.qmth.examcloud.core.oe.admin.stater;
|
|
|
|
|
|
-import org.apache.logging.log4j.ThreadContext;
|
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
import org.springframework.boot.autoconfigure.domain.EntityScan;
|
|
@@ -26,7 +25,7 @@ import cn.com.qmth.examcloud.web.bootstrap.AppBootstrap;
|
|
|
@EntityScan(basePackages = {"cn.com.qmth"})
|
|
|
@EnableJpaRepositories(basePackages = {"cn.com.qmth"})
|
|
|
@EnableMongoRepositories(basePackages= { "cn.com.qmth" })
|
|
|
-public class AdminApplication {
|
|
|
+public class OEAdminApplication {
|
|
|
static {
|
|
|
String runtimeLevel = System.getProperty("log.commonLevel");
|
|
|
if (null == runtimeLevel) {
|
|
@@ -36,6 +35,7 @@ public class AdminApplication {
|
|
|
}
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
- AppBootstrap.run(AdminApplication.class, args);
|
|
|
+ AppBootstrap.run(OEAdminApplication.class, args);
|
|
|
}
|
|
|
+
|
|
|
}
|