Blame view

src/main/java/com/huaheng/HuaHengApplication.java 2.28 KB
tangying authored
1
2
3
4
5
6
7
8
9
10
11
12
13
package com.huaheng;

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 huaheng
 */
//@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
mahuandong authored
14
@MapperScan("com.huaheng.pc.**.**.mapper")
tangying authored
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//添加SecurityAutoConfiguration.class,防止报java.lang.ArrayStoreException错
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class HuaHengApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(HuaHengApplication.class, args);
        System.out.println("(♥◠‿◠)ノ゙  华恒启动成功   ლ(´ڡ`ლ)゙  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\   /  /    \n" +
                " | ( ' )  |       \\  _. /  '       \n" +
                " |(_ o _) /        _( )_ .'         \n" +
                " | (_,_).' __  ___(_ o _)'          \n" +
                " |  |\\ \\  |  ||   |(_,_)'         \n" +
                " |  | \\ `'   /|   `-'  /           \n" +
                " |  |  \\    /  \\      /           \n" +
                " ''-'   `'-'    `-..-'              \n" +
                " >>>     WMS启动成功!     <<<  \n"+
                        "     へ     /|▓\n"+
                        "    /\7   ∠_/\n"+
                        "    / │   / /\n"+
                        "    │ Z _,< /  〈ヽ\n"+
                        "    │  `   ヽ    / 〉\n"+
                        "    Y     `/  / 〉\n"+
                        "   ( ●  ヽ  ● /. 〈 /\n"+
                        "  () (  | \  〈 \\n"+
                        "    >_ ' _ . '│  //\n"+
                        "   /へ    / )<| \\\n"+
                        "   ヽ_)  (_/  │//\n"+
                        "   7       | /\n"+
                        "   >―r` ̄ ̄` `―_' \n"

        );
    }
}