package com.bonus.auth;

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.boot.autoconfigure.mongo.MongoAutoConfiguration;

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