package com.bonus.auth;

import com.bonus.common.swagger.annotation.EnableCustomSwagger2;
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;

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