From 3a38edcb5e9c15a9591e1e913d3583f3d437caf1 Mon Sep 17 00:00:00 2001 From: ZengTao <2773468879@qq.com> Date: 星期三, 16 十月 2024 10:05:29 +0800 Subject: [PATCH] Merge remote-tracking branch '公司服务器/master' --- hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java | 32 ++++++++++++++++++++++++++++++++ 1 files changed, 32 insertions(+), 0 deletions(-) diff --git a/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java new file mode 100644 index 0000000..b3de82f --- /dev/null +++ b/hangzhoumesParent/moduleService/CacheGlassModule/src/main/java/com/mes/CacheGlassModuleApplication.java @@ -0,0 +1,32 @@ +package com.mes; + +import lombok.extern.slf4j.Slf4j; +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.scheduling.annotation.EnableScheduling; +import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc; + +/** + * @Author : zhoush + * @Date: 2024/3/25 10:49 + * @Description: + */ +@Slf4j +@SpringBootApplication +@MapperScan("com.mes.*.mapper") +@EnableDiscoveryClient +@EnableSwagger2WebMvc +@EnableScheduling +public class CacheGlassModuleApplication { + + public static void main(String[] args) { + try { + SpringApplication.run(CacheGlassModuleApplication.class, args); + } catch (Exception e) { + log.error(e.getMessage()); + } + + } +} -- Gitblit v1.8.0