wangb@gyee-china.com vor 1 Jahr
Ursprung
Commit
7b354e868e

+ 5 - 3
web/runeconomy-xk/src/main/java/com/gyee/RunEconomyApplication.java

@@ -8,6 +8,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
 import org.springframework.boot.system.ApplicationHome;
 import org.springframework.context.ConfigurableApplicationContext;
 import org.springframework.core.env.Environment;
+import org.springframework.scheduling.annotation.EnableScheduling;
 
 import java.net.InetAddress;
 import java.net.UnknownHostException;
@@ -15,6 +16,7 @@ import java.net.UnknownHostException;
 
 @Log4j2
 @SpringBootApplication
+@EnableScheduling
 @MapperScan("com.gyee.runeconomy.mapper")
 public class RunEconomyApplication {
 
@@ -43,9 +45,9 @@ public class RunEconomyApplication {
     }
 
 
-//    /**
-//     * 功率曲线拟合的数据文件保存路径
-//     */
+    /**
+     * 功率曲线拟合的数据文件保存路径
+     */
 //    private static void createFolder() {
 //        GyeeConfig bean = SpringUtils.getBean(GyeeConfig.class);
 //        File f1 = new File(bean.getFilePathPrepare());