package com.bonus.auth;

import com.bonus.common.security.annotation.EnableCustomConfig;
import com.bonus.common.swagger.annotation.EnableCustomSwagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.bonus.common.security.annotation.EnableRyFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 认证授权中心
 * 
 * @author bonus
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableScheduling
@EnableRyFeignClients
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class BonusCustAuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(BonusCustAuthApplication.class, args);
        System.out.println("客户认证授权中心启动成功");
    }
}
