2025-07-22 23:00:39 +08:00
|
|
|
package com.timeline.file;
|
|
|
|
|
|
|
|
|
|
import com.timeline.file.config.MinioConfig;
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2026-01-05 15:21:26 +08:00
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
2025-07-22 23:00:39 +08:00
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
|
|
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
|
|
|
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
@ComponentScan({"com.timeline", "com.timeline.file"})
|
|
|
|
|
@EnableConfigurationProperties(MinioConfig.class)
|
2026-01-05 15:21:26 +08:00
|
|
|
@EnableDiscoveryClient
|
2025-07-22 23:00:39 +08:00
|
|
|
public class TimelineFileServiceApplication {
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(TimelineFileServiceApplication.class, args);
|
|
|
|
|
}
|
|
|
|
|
|
2026-01-05 15:21:26 +08:00
|
|
|
}
|