mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-11 01:10:29 +08:00
Initial commit: five Maven reactors and docs only
Track maven-cloudwalk-cloud, maven-cw-elevator-application, maven-intelligent-cwoscomponent, maven-ninca-crk, maven-ninca-qk-alarm, and docs/. Other workspace paths ignored via .gitignore. Made-with: Cursor
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
package cn.cloudwalk;
|
||||
|
||||
import org.mybatis.spring.annotation.MapperScan;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.cloud.netflix.feign.EnableFeignClients;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
|
||||
/**
|
||||
* 区域告警应用入口:启用 Feign、服务发现、调度与 MyBatis 扫描。
|
||||
*/
|
||||
@MapperScan({"cn.cloudwalk.data.alarm.**.mapper"})
|
||||
@EnableFeignClients(basePackages = {"cn.cloudwalk"})
|
||||
@EnableDiscoveryClient
|
||||
@SpringBootApplication
|
||||
@EnableScheduling
|
||||
public class AlarmApplication {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication application = new SpringApplication(new Object[] {cn.cloudwalk.AlarmApplication.class});
|
||||
application.run(args);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user