Files
rp-server-psychic/oneone-alert/alert-boot/src/main/java/com/oneone/alert/AlertApplication.java
T
2026-03-23 11:52:51 +08:00

20 lines
703 B
Java

package com.oneone.alert;
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.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
@EnableFeignClients(basePackages = {"com.oneone.alert.api.feign"})
@SpringBootApplication
@EnableDiscoveryClient
@EnableScheduling
@EnableAsync
public class AlertApplication {
public static void main(String[] args) {
SpringApplication.run(AlertApplication.class, args);
}
}