You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
package com.bnyer.file;
|
|
|
|
import com.bnyer.common.security.annotation.EnableRyFeignClients;
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
|
import com.bnyer.common.swagger.annotation.EnableCustomSwagger2;
|
|
import org.springframework.cloud.openfeign.EnableFeignClients;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
/**
|
|
* 文件服务
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
@EnableCustomSwagger2
|
|
@EnableRyFeignClients
|
|
@EnableAsync
|
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
|
|
public class BnyerFileApplication
|
|
{
|
|
public static void main(String[] args)
|
|
{
|
|
SpringApplication.run(BnyerFileApplication.class, args);
|
|
System.out.println("(♥◠‿◠)ノ゙ bnyer文件服务启动成功 ლ(´ڡ`ლ)゙ \n" +
|
|
"__________ \n" +
|
|
"\\______ \\ ____ ___.__. ___________ \n" +
|
|
" | | _// < | |/ __ \\_ __ \\\n" +
|
|
" | | \\ | \\___ \\ ___/| | \\/\n" +
|
|
" |______ /___| / ____|\\___ >__| \n" +
|
|
" \\/ \\/\\/ \\/ \n");
|
|
}
|
|
}
|
|
|