package com.muyu.openbusiness;

import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure;
import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceAutoConfiguration;
import com.muyu.common.security.annotation.EnableCustomConfig;
import com.muyu.common.security.annotation.EnableMyFeignClients;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 系统模块
 *
 * @author muyu
 */
//@EnableFeignClients
@EnableCustomConfig
@EnableMyFeignClients
@SpringBootApplication(
        exclude = {
                DataSourceAutoConfiguration.class,
                DruidDataSourceAutoConfigure.class,
                DynamicDataSourceAutoConfiguration.class
        }
)
public class CloudOpenBusinessApplication {
    public static void main(String[] args) {
        SpringApplication.run(CloudOpenBusinessApplication.class, args);
        System.out.println("CloudSystemSaas 模块启动成功!");
    }
}
