From dd60bcc7b38c2a19c02a20550a393987fc5a5a27 Mon Sep 17 00:00:00 2001 From: wu <731351411@qq.com> Date: 星期三, 07 八月 2024 16:26:04 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/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..13cceb4 --- /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.EnableSwagger2; + +/** + * @Author : zhoush + * @Date: 2024/3/25 10:49 + * @Description: + */ +@Slf4j +@SpringBootApplication +@MapperScan("com.mes.*.mapper") +@EnableDiscoveryClient +@EnableSwagger2 +@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