package com.pangu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 盘古用户平台启动类
 * @author pangu
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.pangu"})
@MapperScan("com.pangu.**.mapper")
public class PanguApplication {

    public static void main(String[] args) {
        SpringApplication.run(PanguApplication.class, args);
        System.out.println("===========================================");
        System.out.println("  盘古用户平台启动成功！");
        System.out.println("  访问地址: http://localhost:8080");
        System.out.println("===========================================");
    }
}
