Files
timeline-server/timeline-file-service/src/main/java/com/timeline/file/TimelineFileServiceApplication.java
jianghao 640eb23bde
All checks were successful
test/timeline-server/pipeline/head This commit looks good
引入nacos支持
2026-01-05 15:21:26 +08:00

20 lines
735 B
Java

package com.timeline.file;
import com.timeline.file.config.MinioConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
@SpringBootApplication
@ComponentScan({"com.timeline", "com.timeline.file"})
@EnableConfigurationProperties(MinioConfig.class)
@EnableDiscoveryClient
public class TimelineFileServiceApplication {
public static void main(String[] args) {
SpringApplication.run(TimelineFileServiceApplication.class, args);
}
}