123456789101112131415161718192021222324252627 |
- package com.persagy;
- import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
- import org.springframework.boot.SpringApplication;
- import org.springframework.boot.autoconfigure.SpringBootApplication;
- import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
- import org.springframework.cloud.openfeign.EnableFeignClients;
- import org.springframework.scheduling.annotation.EnableScheduling;
- import org.springframework.transaction.annotation.EnableTransactionManagement;
- import com.persagy.common.annotation.EnableControllerLog;
- import com.persagy.common.annotation.EnableIdGenerator;
- @EnableScheduling
- @EnableIdGenerator
- @EnableControllerLog
- @EnableDiscoveryClient
- @SpringBootApplication(exclude = DruidDataSourceAutoConfigure.class)
- @EnableTransactionManagement
- @EnableFeignClients(basePackages = "com.persagy.calendar.client")
- public class WorkCalendarApplication {
- public static void main(String[] args) {
- SpringApplication.run(WorkCalendarApplication.class, args);
- }
-
- }
|