Files
gofly-platform-services/zlt-business/file-center/src/main/java/com/central/FileCenterApp.java
T

24 lines
869 B
Java
Raw Normal View History

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