2019-01-19 15:31:26 +08:00
|
|
|
package com.central;
|
|
|
|
|
|
2019-04-16 23:45:31 +08:00
|
|
|
import com.central.file.properties.FileServerProperties;
|
|
|
|
|
import com.central.file.properties.OssProperties;
|
2019-01-19 15:31:26 +08:00
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
2019-04-16 23:45:31 +08:00
|
|
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
2019-01-19 15:31:26 +08:00
|
|
|
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 文件中心
|
2019-02-27 14:29:37 +08:00
|
|
|
* @author 作者 owen E-mail: 624191343@qq.com
|
2019-01-19 15:31:26 +08:00
|
|
|
*/
|
|
|
|
|
@EnableDiscoveryClient
|
2019-04-16 23:45:31 +08:00
|
|
|
@EnableConfigurationProperties(FileServerProperties.class)
|
2019-01-19 15:31:26 +08:00
|
|
|
@SpringBootApplication
|
|
|
|
|
public class FileCenterApp {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(FileCenterApp.class, args);
|
|
|
|
|
}
|
|
|
|
|
}
|