LhCreditApplication.java
1.15 KB
package com.lhcredit;
import org.apache.poi.openxml4j.util.ZipSecureFile;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* 启动程序
*/
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableCaching
@EnableScheduling
public class LhCreditApplication {
public static void main(String[] args) throws Exception {
// System.setProperty("spring.devtools.restart.enabled", "false");
SpringApplication.run(LhCreditApplication.class, args);
ZipSecureFile.setMinInflateRatio(0.001);
System.out.println("(♥◠‿◠)ノ゙ 项目启动成功 ლ(´ڡ`ლ)゙");
// String body = HttpRequest.get("http://localhost:8082/web/monitorReportDays/down/4").execute().body();
// JSONObject object = JSONObject.parseObject(body);
// System.out.println(MonitorDataTempLate.of(JSONObject.parseObject(body)).make());
}
}