|
@@ -25,25 +25,25 @@ import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
@EnableAutoConfiguration(exclude = {RedisAutoConfiguration.class})
|
|
|
public class Tianji2App {
|
|
|
|
|
|
- static {
|
|
|
- System.setProperty("hibernate.dialect.storage_engine", "innodb");
|
|
|
- PropertiesUtil.loadFromResource("application.properties");
|
|
|
- PropertyHolder.loadFromResource("application.properties");
|
|
|
- }
|
|
|
+ static {
|
|
|
+ System.setProperty("hibernate.dialect.storage_engine", "innodb");
|
|
|
+ PropertiesUtil.loadFromResource("application.properties");
|
|
|
+ PropertyHolder.loadFromResource("application.properties");
|
|
|
+ }
|
|
|
|
|
|
- /**
|
|
|
- * main
|
|
|
- *
|
|
|
- * @author WANGWEI
|
|
|
- * @param args
|
|
|
- */
|
|
|
- public static void main(String[] args) {
|
|
|
- SpringApplication.run(Tianji2App.class, args);
|
|
|
+ /**
|
|
|
+ * main
|
|
|
+ *
|
|
|
+ * @param args
|
|
|
+ * @author WANGWEI
|
|
|
+ */
|
|
|
+ public static void main(String[] args) {
|
|
|
+ SpringApplication.run(Tianji2App.class, args);
|
|
|
|
|
|
-// UpyunSiteManager.init();
|
|
|
+ // UpyunSiteManager.init();
|
|
|
|
|
|
- Task task = SpringContextHolder.getBean(Task.class);
|
|
|
- task.start();
|
|
|
- }
|
|
|
+ Task task = SpringContextHolder.getBean(Task.class);
|
|
|
+ task.start();
|
|
|
+ }
|
|
|
|
|
|
-}
|
|
|
+}
|