package com.ruoyi; import com.ruoyi.common.utils.file.FileUploadUtils; import org.mybatis.spring.annotation.MapperScan;; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; /** * 启动程序 * * @author ruoyi */ @SpringBootApplication( scanBasePackages = "com.ruoyi,com.yanzhu.jh", exclude = { DataSourceAutoConfiguration.class }) @MapperScan(value = {"com.ruoyi.*.mapper","com.yanzhu.jh.*.mapper"}) public class RuoYiApplication { public static void main(String[] args) { // System.setProperty("spring.devtools.restart.enabled", "false"); SpringApplication.run(RuoYiApplication.class, args); System.out.println("(♥◠‿◠)ノ゙ 若依启动成功 ლ(´ڡ`ლ)゙ \n" + " .-------. ____ __ \n" + " | _ _ \\ \\ \\ / / \n" + " | ( ' ) | \\ _. / ' \n" + " |(_ o _) / _( )_ .' \n" + " | (_,_).' __ ___(_ o _)' \n" + " | |\\ \\ | || |(_,_)' \n" + " | | \\ `' /| `-' / \n" + " | | \\ / \\ / \n" + " ''-' `'-' `-..-' "); //FileUploadUtils.minPath("/data/uploadPath/upload/2023/08/16"); } }