| 12345678910111213141516171819202122232425262728 |
- package com.sckw.file;
- import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
- import org.springframework.boot.SpringApplication;
- import org.springframework.boot.autoconfigure.SpringBootApplication;
- import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
- import org.springframework.cloud.openfeign.EnableFeignClients;
- /**
- * @author lfdc
- * @version 1.0
- * @className FileApplication
- * @description 文件上传下载启动类
- * @company sckw
- * @date 2023-06-02 17:06:43
- */
- @EnableDubbo
- @EnableFeignClients({"com.sckw.*.api.feign"})
- @EnableDiscoveryClient
- @SpringBootApplication
- public class FileApplication {
- public static void main(String[] args) {
- // 关闭nacos日志
- System.setProperty("nacos.logging.default.config.enabled", "false");
- SpringApplication.run(FileApplication.class, args);
- }
- }
|