zjh
2024-12-06 c42f62b32bac302a7ac9fcde7489f7c5fc6e11aa
ltkj-admin/src/main/java/com/ltkj/LtkjApplication.java
@@ -1,11 +1,13 @@
package com.ltkj;
import cn.hutool.crypto.SecureUtil;
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.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
@@ -17,6 +19,7 @@
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class},scanBasePackages = {"org.jeecg.modules.jmreport","com.ltkj"})
@EnableAsync
@EnableCaching
@EnableScheduling
public class LtkjApplication {
    public static void main(String[] args) {
        //spring-boot-devtools的模块使Spring Boot应用支持热部署,无需手动重启Spring Boot应用。
@@ -32,5 +35,7 @@
                "  ██           ██     ██ ██        ██\n" +
                "  ██           ██     ██  ██  ██   ██\n" +
                "  ████████     ██     ██   ██  ██████\n");
       //linux解决hutll权限报错的问题
        SecureUtil.disableBouncyCastle();
    }
}