瀏覽代碼

场景中心 test

by su 3 年之前
父節點
當前提交
e641b9a836
共有 1 個文件被更改,包括 0 次插入51 次删除
  1. 0 51
      4dkankan-center-scene/src/main/java/com/fdkankan/scene/SceneApplication.java

+ 0 - 51
4dkankan-center-scene/src/main/java/com/fdkankan/scene/SceneApplication.java

@@ -1,51 +0,0 @@
-package com.fdkankan.scene;
-
-import org.mybatis.spring.annotation.MapperScan;
-import org.springframework.boot.SpringApplication;
-import org.springframework.boot.autoconfigure.SpringBootApplication;
-import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
-import org.springframework.cloud.openfeign.EnableFeignClients;
-import org.springframework.context.annotation.ComponentScan;
-import org.springframework.scheduling.annotation.EnableScheduling;
-
-@SpringBootApplication
-@EnableFeignClients("com.fdkankan.*.api.feign")
-@EnableDiscoveryClient
-@EnableScheduling
-@ComponentScan("*")
-@MapperScan("com.fdkankan.**.mapper")
-public class SceneApplication {
-
-    public static void main(String[] args) {
-        SpringApplication.run(SceneApplication.class, args);
-    }
-
-    /**
-     * 注入全局异常处理器
-     */
-//    @Bean
-//    public GlobalExceptionHandler globalExceptionHandler(){
-//        return new GlobalExceptionHandler();
-//    }
-//
-//    @Bean
-//    public RedisUtil redisUtil(){
-//        return new RedisUtil();
-//    }
-//
-//    @Bean
-//    public FileRouteConfig fileRouteConfig(){
-//        return new FileRouteConfig();
-//    }
-//
-////    @Bean
-////    public PlatformClient platformClient(){
-////        return  new PlatformClient();
-////    }
-//
-//    @Bean
-//    public UploadToOssUtil uploadToOssUtil(){
-//        return new UploadToOssUtil();
-//    }
-
-}